object

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OauthRedis

type OauthRedis struct {
	Token     string `json:"token"`
	LastLogin string `json:"last_login"`
}

type User

type User struct {
	UserID   string `json:"userID"`
	Account  string `json:"account"`
	Password string `json:"password"`
	Gender   string `json:"gender"`
	BirthDay string `json:"birthday"`
}

func NewUser

func NewUser(id, account string) *User

func (*User) ToDAO

func (user *User) ToDAO()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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