entity

package
v0.0.0-...-688904c Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2016 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Quest

type Quest struct {
	ID       int        `db:"id"        goma:"size:11:pk"`
	Name     *string    `db:"name"      goma:""`
	Detail   *string    `db:"detail"    goma:""`
	CreateAt *time.Time `db:"create_at" goma:""`
}

Quest is generated quest table.

func (*Quest) Scan

func (e *Quest) Scan(rows *sql.Rows) error

Scan Quest all scan

type Sample

type Sample struct {
	ID       int       `goma:"size:11:pk"`
	Name     *string   `goma:""`
	CreateAt time.Time `goma:""`
}

Sample is generated sample table.

func (*Sample) Scan

func (e *Sample) Scan(rows *sql.Rows) error

Scan Sample all scan

Jump to

Keyboard shortcuts

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