Include go version into info response

This commit is contained in:
Dan Sosedoff 2019-12-04 20:29:23 -06:00
parent 0d8502f799
commit 43a2945208

View File

@ -472,6 +472,7 @@ func GetBookmarks(c *gin.Context) {
func GetInfo(c *gin.Context) { func GetInfo(c *gin.Context) {
successResponse(c, gin.H{ successResponse(c, gin.H{
"version": command.Version, "version": command.Version,
"go_version": command.GoVersion,
"git_sha": command.GitCommit, "git_sha": command.GitCommit,
"build_time": command.BuildTime, "build_time": command.BuildTime,
}) })