Created
April 27, 2020 10:42
-
-
Save plutov/eea2eec7ed862bcacf65beb456e8ec90 to your computer and use it in GitHub Desktop.
api-client-3.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package facest | |
import "time" | |
type FacesList struct { | |
Count int `json:"count"` | |
PagesCount int `json:"pages_count"` | |
Faces []Face `json:"faces"` | |
} | |
type Face struct { | |
FaceToken string `json:"face_token"` | |
FaceID string `json:"face_id"` | |
FaceImages []FaceImage `json:"face_images"` | |
CreatedAt time.Time `json:"created_at"` | |
} | |
type FaceImage struct { | |
ImageToken string `json:"image_token"` | |
ImageURL string `json:"image_url"` | |
CreatedAt time.Time `json:"created_at"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment