Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Foo ¶
type Foo struct { ID int `db:"id" json:"id"` Data string `db:"data" json:"data"` CreatedAt time.Time `db:"created_at" json:"createdAt"` UpdatedAt time.Time `db:"updated_at" json:"updatedAt"` }
Foo is the best data type
type FooPlusToken ¶
type FooPlusToken struct { Foo []Foo `json:"foo"` LastToken string `json:"lastToken"` NewToken string `json:"newToken"` }
FooPlusToken is for serializing Foo and the token
Click to show internal directories.
Click to hide internal directories.