Documentation ¶
Overview ¶
Package main for atlas. Atlas provides a _very_ simple web browser of a story model.
Future work might include: * Parameterization of the story data source. * Moving from html templates to json gets.
- ex. vue.js, custom css, etc.
* More data inspection views:
- Links from aspect properties to aspect info.
- Lists of nouns using selected traits.
- ...
* Support for custom relations:
- Containment, directions.
- Graphical maps.
* Search ( ex. by name. ) * Inspecting in progress, or saved, games.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AtlasTemplate = atlasTemplate
View Source
var Templates *template.Template = template.New("none").Funcs(funcMap)
Functions ¶
func CreateAtlas ¶
func CreateTestData ¶
Types ¶
type Kind ¶
type Kind struct {
Name, Path, Spec string
Props []Prop // newly introduced fields, or fields with new default values
Nouns []string
}
some things we could do: . an alphabetical index . a hierarchical, indented listing . headings per kind
type Prop ¶
type Prop struct {
Name, Value string
Spec sql.NullString
}
Click to show internal directories.
Click to hide internal directories.