models

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package models provides the structs exposed by the core package, but put in an independent package to break the dependency cycle between `core` and `db`

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KarmaCount

type KarmaCount struct {
	GuildID string `db:"guild_id"`
	UserID  string `db:"user_id"`
	Count   uint   `db:"count"`
}

A KarmaCount is a counter for karma attached to a user

Jump to

Keyboard shortcuts

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