models

package
v0.0.0-...-01ba91a Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoursModel

type CoursModel struct {
	UserID string `json:"userid"`
	Value  uint   `json:"value"`
}

type Karma

type Karma struct {
	UserID  string `json:"userid"`
	GuildID string `json:"guildid"`
	Value   uint   `json:"value"`
}

func (*Karma) AddKarma

func (karma *Karma) AddKarma(amount uint)

func (*Karma) SetKarma

func (karma *Karma) SetKarma(userID, guildID string, value uint)

Jump to

Keyboard shortcuts

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