player.go 167 B

12345678910111213
  1. package player
  2. type Player struct {
  3. Id string `json:"id"`
  4. Color string `json:"color"`
  5. Type Type `json:"type"`
  6. }
  7. type Type int
  8. const (
  9. MyPlayer Type = 1
  10. )