Files
fn-serverless/api/server/version.go
Carlos C d5fb1afda7 Revert "Assert License (#224)"
This reverts commit a61c4dab78.
2016-11-06 09:25:12 -08:00

15 lines
210 B
Go

package server
import (
"net/http"
"github.com/gin-gonic/gin"
)
// Version of IronFunctions
var Version = "0.0.57"
func handleVersion(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"version": Version})
}