feat: add json format

This commit is contained in:
Jeffrey Duroyon
2020-05-11 00:03:32 +02:00
parent c8993f1ca3
commit 29a2a58d0e
3 changed files with 25 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
package model
type Cage struct {
Hamsters []*Hamster
Hamsters []*Hamster `json:"hamsters"`
}