aggregate

package
v0.0.1-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

func FromPrimitives

func FromPrimitives(userPrimitive *UserPrimitive) (*User, error)

func NewUser

func NewUser(id, email, username, password string) (*User, error)

func RandomUser

func RandomUser() *User

func (*User) ToPrimitives

func (user *User) ToPrimitives() *UserPrimitive

type UserPrimitive

type UserPrimitive struct {
	Id       string
	Email    string
	Username string
	Password string
	Verified bool
}

Jump to

Keyboard shortcuts

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