models

package
v0.0.0-...-c5e0098 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Note

type Note struct {
	Id        pgtype.Numeric
	UserId    pgtype.Numeric
	Title     pgtype.Text
	Content   pgtype.Text
	Color     pgtype.Text
	CreatedAt pgtype.Date
	UpdatedAt pgtype.Date
}

func (Note) String

func (n Note) String() string

type User

type User struct {
	Id        pgtype.Numeric
	Email     pgtype.Text
	Password  pgtype.Text
	Active    pgtype.Bool
	CreatedAt pgtype.Date
	UpdatedAt pgtype.Date
}

func (*User) String

func (u *User) String() string

type UserConfirmationToken

type UserConfirmationToken struct {
	Id        pgtype.Numeric
	UserId    pgtype.Numeric
	Token     pgtype.Text
	Confirmed pgtype.Bool
	CreatedAt pgtype.Date
	UpdatedAt pgtype.Date
}

Jump to

Keyboard shortcuts

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