account

package
v0.0.0-...-a6f28e0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 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 Account

type Account struct {
	gorm.Model
	Username string
	Password string
	Profile  profile.Profile
	Posts    []post.Post
}

func Create

func Create(a Account) (Account, error)

func Delete

func Delete(a Account) (Account, error)

func Read

func Read(a Account) (Account, error)

func SignIn

func SignIn(a Account) (Account, error)

func SignUp

func SignUp(a Account) (Account, error)

func Update

func Update(a Account) (Account, error)

Jump to

Keyboard shortcuts

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