test

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Line1    string
	Line2    string
	Country  string
	PostCode uint
	Region   struct {
		TimeZone        time.Time
		Keys            []*datastore.Key `goloquent:"keys"`
		IndependantDate goloquent.Date
		CountryCode     string             `goloquent:"regionCode"`
		Geolocation     datastore.GeoPoint `goloquent:"geo"`
	} `goloquent:"region"`
}

Address :

type Email

type Email string

Email :

type TempUser

type TempUser struct {
	User
}

TempUser :

type User

type User struct {
	ID               int64
	Key              *datastore.Key `goloquent:"__key__" faker:"-"`
	Username         string         `faker:"username"`
	Name             string         `goloquent:",charset=utf8,collate=utf8_bin" faker:"name"`
	Password         string         `goloquent:",datatype=varchar(100)" faker:"password"`
	Nickname         *string
	Age              uint8            ``
	CreditLimit      float64          `goloquent:",unsigned"`
	Address          Address          `faker:"-"`
	Birthdate        goloquent.Date   `faker:"-"`
	PrimaryEmail     Email            `faker:"email"`
	Emails           []string         `goloquent:""`
	Information      json.RawMessage  `faker:"-"`
	ExtraInformation *json.RawMessage `faker:"-"`
	Status           string           `goloquent:",charset=latin1" faker:""`
	UpdatedDateTime  time.Time
	DeleteDateTime   goloquent.SoftDelete `faker:"-"`
}

User :

Jump to

Keyboard shortcuts

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