Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTableRowCount ¶
Types ¶
type Accounts_User ¶
type Accounts_User struct {
ID int `gorm:"primaryKey;autoIncrement"`
RemoteID string `json:"remote_id" gorm:"column:remote_id"`
Username string `json:"username" gorm:"column:username"`
}
func SelectUser ¶
func SelectUser() Accounts_User
func (Accounts_User) TableName ¶
func (Accounts_User) TableName() string
type Event ¶
type Event struct {
ID int `gorm:"primaryKey;autoIncrement"`
RemoteID string `json:"remote_id" gorm:"column:remote_id"`
ProfileID int `json:"profile_id" gorm:"column:profile_id"`
Title string `json:"title" gorm:"column:title"`
Values string `json:"event_values" gorm:"column:event_values"`
PatrolSegmentID string `json:"patrol_segment_id" gorm:"column:patrol_segment_id"`
CreatedAt string `json:"created_at" gorm:"created_at"`
UpdatedAt string `json:"updated_at" gorm:"updated_at"`
}
func SelectDrafts ¶
func SelectDrafts() []Event
func SelectPendingSyncEvents ¶
func SelectPendingSyncEvents() []Event
type User_Profile ¶
type User_Profile struct {
ID int `gorm:"primaryKey;autoIncrement"`
RemoteID string `json:"remote_id" gorm:"column:remote_id"`
Username string `json:"username" gorm:"column:username"`
}
func SelectUserProfileById ¶
func SelectUserProfileById(id int) User_Profile
Click to show internal directories.
Click to hide internal directories.