repo

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result[T any] struct {
	Code    int64  `json:"code"`
	Data    T      `json:"data,omitempty"`
	Message string `json:"message,omitempty"`
}

type User

type User struct {
	Id          string    `json:"id" gorm:"id;primaryKey"`
	PhoneNumber string    `json:"phone_number" gorm:"phone_number"`
	Username    string    `json:"username" gorm:"username"`
	Password    string    `json:"password" gorm:"password"`
	CreateAt    time.Time `json:"create_at" gorm:"create_at"`
	UpdateAt    time.Time `json:"update_at" gorm:"update_at"`
}

Jump to

Keyboard shortcuts

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