model

package
v0.0.0-...-b80d976 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	// contains filtered or unexported fields
}

func NewUser

func NewUser(id string, createdAt time.Time, firstName, lastName, email string) *User

func (*User) GetCreatedAt

func (u *User) GetCreatedAt() time.Time

func (*User) GetEmail

func (u *User) GetEmail() string

func (*User) GetFirstName

func (u *User) GetFirstName() string

func (*User) GetID

func (u *User) GetID() string

func (*User) GetLastName

func (u *User) GetLastName() string

Jump to

Keyboard shortcuts

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