tools

package
v0.0.0-...-cec39cb Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2018 License: MIT Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAbilityRe

func AddAbilityRe(role *objects.Role, expression string)

func DumpJSON

func DumpJSON(data interface{}) string

func MigrateDB

func MigrateDB()

func NewDummyGame

func NewDummyGame(name string, short string, publisher string) *objects.Game

func NewDummyGameAdmin

func NewDummyGameAdmin(name string, password string, email string, game *objects.Game) *objects.User

func NewDummyMod

func NewDummyMod(name string, user *objects.User, game *objects.Game, license string) *objects.Mod

func NewDummyModVersion

func NewDummyModVersion(mod *objects.Mod, friendly_version string, game *objects.Game, version *objects.GameVersion, beta bool) *objects.ModVersion

func NewDummyUser

func NewDummyUser(name string, password string, email string, admin bool) *objects.User

func NewDummyVersion

func NewDummyVersion(game *objects.Game, name string, beta bool) *objects.GameVersion

func SQLToMap

func SQLToMap(rows *sql.Rows) []map[string]interface{}

func Setup

func Setup(dummy bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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