model

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUniverse

func CheckUniverse(universe Universe) bool

Types

type Team

type Team struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	Universe  string `json:"universe"`
	CreatedAt time.Time
	UpdatedAt *time.Time
}

func NewTeam

func NewTeam(id string, createdAt time.Time, dto *dto.TeamRequest) *Team

type Universe

type Universe string
const (
	Marvel   Universe = "MARVEL"
	DC       Universe = "DC"
	DCMarvel Universe = "DC|MARVEL"
)

Jump to

Keyboard shortcuts

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