mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
Include go version into info response
This commit is contained in:
parent
0d8502f799
commit
43a2945208
@ -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,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user