11 lines
177 B
Go
11 lines
177 B
Go
package config
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// Versionsinfo returns version and git commit information
|
|
func Versionsinfo(c *gin.Context) {
|
|
c.JSON(200, GetInfo())
|
|
}
|