Skip to content

Instantly share code, notes, and snippets.

@plutov
Created April 27, 2020 10:42
Show Gist options
  • Save plutov/eea2eec7ed862bcacf65beb456e8ec90 to your computer and use it in GitHub Desktop.
Save plutov/eea2eec7ed862bcacf65beb456e8ec90 to your computer and use it in GitHub Desktop.
api-client-3.go
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