Skip to content

Instantly share code, notes, and snippets.

@batmany13
Created August 21, 2017 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save batmany13/2031ae4dc83afa915c262b424108011c to your computer and use it in GitHub Desktop.
Save batmany13/2031ae4dc83afa915c262b424108011c to your computer and use it in GitHub Desktop.
ApiCall Struct
type ApiCall struct {
Id int64 `db:"id" json:"id"`
Type string `db:"type" json:"type"`
CreatedAt time.Time `db:"ctime" json:"-"`
Called time.Time `db:"called" json:"called"`
VideoId string `db:"video_id" json:"video_id"`
Taken time.Duration `db:"taken" json:"taken"`
Error string `db:"error" json:"error"`
Video synq.Video `db:"result" json:"video"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment