This commit is contained in:
mr
2025-04-01 10:09:25 +02:00
parent 1aa6c68b2c
commit 3ae9f69525
9 changed files with 212 additions and 12 deletions

View File

@@ -15,7 +15,10 @@ type VersionController struct {
// @Success 200
// @router / [get]
func (c *VersionController) GetAll() {
c.Data["json"] = map[string]string{"version": "1"}
c.Data["json"] = map[string]string{
"service": "oc-datacenter",
"version": "1",
}
c.ServeJSON()
}