SHARE
TWEET

Untitled

a guest Apr 21st, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. type Gopher struct {
  2.     Name string `json:"name"`
  3.     Sleep time.Duration `json:"sleep"`
  4.     Eat int `json:"eat"`
  5. }
  6.  
  7. type Farm struct {
  8.     Gophers []Gopher `json:"gophers"`
  9.     TotalFood int `json:"totalFood"`
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top