test

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address added in v0.5.0

type Address struct {
	ID      int    `db:"id"`
	UserID  int    `db:"user_id"`
	Street  string `db:"street"`
	Number  string `db:"number"`
	ZipCode string `db:"zip_code"`
	CityID  int    `db:"city_id"`
}

Address example test struct.

type City added in v0.5.0

type City struct {
	ID   int    `db:"id"`
	Name string `db:"name"`
}

City example test struct.

type PhoneNumber

type PhoneNumber struct {
	ID       int
	UserID   int    `db:"user_id"`
	Mobile   string `db:"mobile"`
	Landline string `db:"landline"`
}

PhoneNumber example test struct.

type User

type User struct {
	ID        int
	FirstName string `db:"first_name"`
	LastName  string `db:"lastname"`
}

User example test struct.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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