sqlx

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL