database

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

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

Go to latest
Published: Jul 8, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DB *gorm.DB
)

Functions

func InitCard

func InitCard()

Types

type Card

type Card struct {
	ID        int64
	Name      string
	Rain      bool `gorm:"default:false"`
	Snow      bool `gorm:"default:false"`
	Night     bool `gorm:"default:false"`
	Bullet    bool `gorm:"default:false"`
	Mask      bool `gorm:"default:false"`
	Whistle   bool `gorm:"default:false"`
	Trap      bool `gorm:"default:false"`
	HardKnock bool `gorm:"default:false"`
}

type Hero

type Hero struct {
	ID     int64
	Name   string
	Handle string
}

Jump to

Keyboard shortcuts

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