Documentation ¶
Index ¶
Constants ¶
View Source
const ( Main = State(iota) Enter Exit SetAccessTime SetTimezone Settings UserSetupAccessTime UserSetupClientSecret UserSetupTimezone )
Enumeration of possibile states.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id int `db:"id"` FirstName string `db:"first_name"` AccessStart time.Time `db:"access_start_time"` AccessEnd time.Time `db:"access_end_time"` WorkDay time.Time `db:"work_day"` ExtraWorkStart time.Time `db:"extra_work_start"` SheetId string `db:"sheet_id"` ClientSecret types.JSONText `db:"client_secret"` State State `db:"state"` TimeZone string `db:"time_zone"` }
User holds the information needed to identify each user
Click to show internal directories.
Click to hide internal directories.