usergen

package
v0.0.0-...-7f988b3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfileInfo

type ProfileInfo struct {
	ID          primitive.ObjectID `bson:"_id" json:"id"`
	UserID      string             `bson:"userID" json:"userID"`
	Nickname    string             `bson:"nickname" json:"nickname"`
	Name        string             `bson:"name" json:"name"`
	Surname     string             `bson:"surname" json:"surname"`
	Phone       string             `bson:"phone" json:"phone"`
	Email       string             `bson:"email" json:"email"`
	Birth       string             `bson:"birth" json:"birth"`
	Gender      string             `bson:"gender" json:"gender"`
	Height      float64            `bson:"height" json:"height"`
	Weight      float64            `bson:"weight" json:"weight"`
	StepsAmount uint64             `bson:"stepsAmount" json:"stepsAmount"`
	PhotoURLs   []string           `bson:"photoURLs" json:"photoURLs"`
	Qualities   []string           `bson:"qualities" json:"qualities"`
	Interests   []string           `bson:"interests" json:"interests"`
}

func GenerateRandomProfiles

func GenerateRandomProfiles(n int) []ProfileInfo

Jump to

Keyboard shortcuts

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