adjustment
This commit is contained in:
		| @@ -14,6 +14,9 @@ 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-peer", | ||||
| 		"version": "1", | ||||
| 	} | ||||
| 	c.ServeJSON() | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user