Files
fn-serverless/api/server/version.go
Travis Reeder 48e3781d5e Rename to GitHub (#3)
* circle

* Rename to github and fn->cli

*  Rename to github and fn->cli
2017-07-26 10:50:19 -07:00

13 lines
205 B
Go

package server
import (
"net/http"
"github.com/gin-gonic/gin"
"github.com/fnproject/fn/api/version"
)
func handleVersion(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"version": version.Version})
}