entities

package
v0.0.0-...-9c49bb0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUsersDTO

func NewUsersDTO(request Users) dtos.Users

Types

type Users

type Users struct {
	ID        string     `db:"id"`
	Name      string     `db:"name"`
	Password  string     `db:"password"`
	CreatedAt time.Time  `db:"created_at"`
	UpdatedAt *time.Time `db:"updated_at"`
}

func NewUsers

func NewUsers(request dtos.Users) Users

Jump to

Keyboard shortcuts

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