beego

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2019 License: MIT Imports: 2 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 orm.Ormer
}

func (*UserDB) Fetch

func (u *UserDB) Fetch(limit int) ([]*Users, error)

type Users

type Users struct {
	Id          int    `orm:"auto"`
	Name        string `orm:"size(255)"`
	Phone       string `orm:"size(100)"`
	Date        string `orm:"size(255)"`
	City        string `orm:"size(255)"`
	Country     string `orm:"size(100)"`
	Email       string `orm:"size(255)"`
	Coordinates string `orm:"size(40)"`
}

Jump to

Keyboard shortcuts

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