struct.go 514 B

123456789101112131415161718192021222324
  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. }
  10. type texture struct {
  11. Timestamp int64 `json:"timestamp"`
  12. ProfileID string `json:"profileId"`
  13. ProfileName string `json:"profileName"`
  14. Textures struct {
  15. SKIN struct {
  16. URL string `json:"url"`
  17. } `json:"SKIN"`
  18. CAPE struct {
  19. URL string `json:"url"`
  20. } `json:"CAPE"`
  21. } `json:"textures"`
  22. }