потом ее поля при Unmarshal?
                  
                  
                  {
                  
                  
                      "users": [
                  
                  
                          {
                  
                  
                              "id": 1,
                  
                  
                              "email": "robosen@icloud.com",
                  
                  
                              "first_name": "Данила",
                  
                  
                              "last_name": "Стамленский",
                  
                  
                              "gender": "m",
                  
                  
                              "birth_date": 345081600
                  
                  
                          }, 
                  
                  
                      ]
                  
                  
                  }
                  
                  
                
type AutoGenerated struct { Users []struct { ID int `json:"id"` Email string `json:"email"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Gender string `json:"gender"` BirthDate int `json:"birth_date"` } `json:"users"` }
Обсуждают сегодня