struct.go 571 B

1234567891011121314151617181920212223242526
  1. package mc
  2. type profile struct {
  3. ID string `json:"id"`
  4. Name string `json:"name"`
  5. Properties []struct {
  6. Name string `json:"name"`
  7. Value string `json:"value"`
  8. } `json:"properties"`
  9. Error string `json:"error"`
  10. Path string `json:"path"`
  11. }
  12. type texture struct {
  13. Timestamp int64 `json:"timestamp"`
  14. ProfileID string `json:"profileId"`
  15. ProfileName string `json:"profileName"`
  16. Textures struct {
  17. SKIN struct {
  18. URL string `json:"url"`
  19. } `json:"SKIN"`
  20. CAPE struct {
  21. URL string `json:"url"`
  22. } `json:"CAPE"`
  23. } `json:"textures"`
  24. }