adventure

package
v0.0.0-...-553e66b Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adventure

type Adventure struct {
	ID        int    `schema:"name=aid;primary;auto"`
	Name      string `schema:"name=name;type=short_text"`
	Desc      string `schema:"name=desc;type=text"`
	CreatedBy int    `schema:"name=createdBy"`
}

We're experimenting with struct tags here atm

func (*Adventure) GetTable

func (a *Adventure) GetTable() string

TODO: Should we add a table interface?

type AdventureStore

type AdventureStore interface {
	Create() (int, error)
}

type DefaultAdventureStore

type DefaultAdventureStore struct {
}

Jump to

Keyboard shortcuts

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