repository

package
v0.0.0-...-054ff44 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListToCore

func ListToCore(dataModel []User) []user.UserCore

func New

Types

type User

type User struct {
	gorm.Model
	Name     string
	Email    string
	Password string
	Role     string
}

func FromCore

func FromCore(dataCore user.UserCore) User

func (*User) ToCore

func (dataModel *User) ToCore() user.UserCore

Jump to

Keyboard shortcuts

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