model

package
v0.0.0-...-6a1fd9b Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BioQuiz

type BioQuiz struct {
	Id         string    `bson:"_id,omitempty"`
	ChannelId  uuid.UUID `bson:"channel_id"`
	MessageId  uuid.UUID `bson:"message_id,omitempty"`
	Answer     string    `bson:"answer,omitempty"`
	IsAnswered bool      `bson:"is_answered"`
}

type TraqUser

type TraqUser struct {
	// contains filtered or unexported fields
}

func NewTraqUser

func NewTraqUser(id uuid.UUID, name string, displayName string, bio string, lastOnline time.Time) *TraqUser

func (*TraqUser) GetBio

func (tu *TraqUser) GetBio() string

func (*TraqUser) GetDisplayName

func (tu *TraqUser) GetDisplayName() string

func (*TraqUser) GetId

func (tu *TraqUser) GetId() uuid.UUID

func (*TraqUser) GetLastOnline

func (tu *TraqUser) GetLastOnline() time.Time

func (*TraqUser) GetName

func (tu *TraqUser) GetName() string

Jump to

Keyboard shortcuts

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