feat: add json format
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
package model
|
||||
|
||||
type Cage struct {
|
||||
Hamsters []*Hamster
|
||||
Hamsters []*Hamster `json:"hamsters"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user