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