entity

package
v0.0.0-...-3909f8e Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Password

type Password struct {
	Id        string     `pg:"id"`
	UserId    string     `pg:"userId"`
	Password  string     `pg:"password"`
	CreatedAt *time.Time `pg:"created_at"`
	UpdatedAt *time.Time `pg:"updated_at"`
	DeletedAt *time.Time `pg:"deleted_at"`
	// contains filtered or unexported fields
}

type Post

type Post struct {
	Id        string     `pg:"id"`
	UserId    string     `pg:"userId"`
	Link      string     `pg:"link"`
	Content   string     `pg:"content"`
	CreatedAt *time.Time `pg:"created_at"`
	UpdatedAt *time.Time `pg:"updated_at"`
	DeletedAt *time.Time `pg:"deleted_at"`
	// contains filtered or unexported fields
}

type User

type User struct {
	Id        string     `pg:"id"`
	Username  string     `pg:"username"`
	Email     string     `pg:"email"`
	Fullname  *string    `pg:"fullname"`
	Bio       *string    `pg:"bio"`
	Admin     bool       `pg:"admin"`
	CreatedAt *time.Time `pg:"created_at"`
	UpdatedAt *time.Time `pg:"updated_at"`
	DeletedAt *time.Time `pg:"deleted_at"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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