demo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserDao

type UserDao struct {
	// 这里是ID
	ID          string    `json:"id" bson:"_id"`                    // ID
	Name        string    `json:"name" bson:"name"`                 //Name
	PhoneNumber string    `json:"phone_number" bson:"phone_number"` // 电话号码
	Email       string    `json:"email" bson:"email"`
	CreateTime  time.Time `json:"create_time" bson:"create_time"`
}

UserDao 可删除tag,并通过generate测试生成

Jump to

Keyboard shortcuts

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