entity

package
v0.0.0-...-5d22fbd Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 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 User

type User struct {
	ID        string
	Name      string
	Age       int
	Lastname  *string
	CreatedAt time.Time
	UpdatedAt time.Time
}

func (User) CollectionName

func (u User) CollectionName() string

func (User) GenerateID

func (u User) GenerateID()

func (User) GetID

func (u User) GetID() string

func (User) SetCreatedAt

func (u User) SetCreatedAt()

func (User) SetID

func (u User) SetID(id string)

func (User) SetUpdatedAt

func (u User) SetUpdatedAt()

Jump to

Keyboard shortcuts

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