models

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID                  primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Name                string             `bson:"username" json:"username,omitempty"`
	Score               float64            `bson:"score" json:"score,omitempty"`
	ImageUrl            string             `bson:"image_url" json:"image_url,omitempty"`
	IDUserTwitch        string             `bson:"userId" json:"userId,omitempty"`
	ColorPrimaryGlobe   string             `bson:"cpGlobe" json:"cpGlobe,omitempty"`
	ColorSecondaryGlobe string             `bson:"csGlobe" json:"csGlobe,omitempty"`
	OpacityGlobe        float64            `bson:"opacityGlobe" json:"opacityGlobe,omitempty"`
}

Jump to

Keyboard shortcuts

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