entity

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 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 GetRequest

type GetRequest struct {
	Query  string
	UserID int64
	Sort   string
	Page   int
	Limit  int
}

GetRequest is get request model.

type Tier

type Tier struct {
	Label       string
	Description string
	Color       string
	Size        string
	Vtubers     []Vtuber
}

Tier is entity for tier.

type TierList

type TierList struct {
	ID          string
	Title       string
	Description string
	Tiers       []Tier
	Options     []Vtuber
	User        User
	UpdatedAt   time.Time
}

TierList is entity for tier list.

type User

type User struct {
	ID       int64
	Username string
}

User is entity for user.

type Vtuber

type Vtuber struct {
	ID          int64
	Name        string
	Image       string
	Description string
}

Vtuber is entity for vtuber.

Jump to

Keyboard shortcuts

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