feat: add app version

This commit is contained in:
Simon Ding
2024-07-27 15:05:53 +08:00
parent 0433cc7b0a
commit 741a4024fd
6 changed files with 7 additions and 2 deletions

View File

@@ -48,5 +48,6 @@ func (s *Server) About(c *gin.Context) (interface{}, error) {
"uptime": uptime.Uptime(),
"chat_group": "https://t.me/+8R2nzrlSs2JhMDgx",
"go_version": runtime.Version(),
"version": db.Version,
}, nil
}