Documentation ¶ Index ¶ type UserDB func (u *UserDB) Fetch(limit int) ([]Users, error) type Users Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type UserDB ¶ type UserDB struct { DB *sqlx.DB } func (*UserDB) Fetch ¶ func (u *UserDB) Fetch(limit int) ([]Users, error) type Users ¶ type Users struct { ID int32 `db:"id"` Name string `db:"name"` Phone string `db:"phone"` Date string `db:"date"` City string `db:"city"` Country string `db:"country"` Email string `db:"email"` Coordinates string `db:"coordinates"` } Source Files ¶ View all Source files sqlx.go Click to show internal directories. Click to hide internal directories.