records

package
v0.0.0-...-6d480b4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToArrayOfUsersV1Domain

func ToArrayOfUsersV1Domain(u *[]Users) []V1Domains.UserDomain

Types

type Users

type Users struct {
	Id        string     `db:"id"`
	Username  string     `db:"username"`
	Email     string     `db:"email"`
	Password  string     `db:"password"`
	Active    bool       `db:"active"`
	RoleId    int        `db:"role_id"`
	CreatedAt time.Time  `db:"created_at"`
	UpdatedAt *time.Time `db:"updated_at"`
	DeletedAt *time.Time `db:"deleted_at"`
}

func FromUsersV1Domain

func FromUsersV1Domain(u *V1Domains.UserDomain) Users

func (*Users) ToV1Domain

func (u *Users) ToV1Domain() V1Domains.UserDomain

Jump to

Keyboard shortcuts

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