feat: version api endpoint
1 files changed, 6 insertions(+), 0 deletions(-) M felu.go
M felu.go => felu.go +6 -0
@@ 46,6 46,12 @@ func setupBackendRouter() *gin.Engine { }) }) + r.GET("/version", func(c *gin.Context) { + c.JSON(http.StatusOK, gin.H{ + "version": version, + }) + }) + return r }