WikiTemplate

package
v0.0.0-...-1d067d0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Airports airports

Airports are all Airport

View Source
var Cities cities

Cities are all CityOf

View Source
var Countries countries

Countries are all Country

View Source
var Currencies currencies

Currencies are all of Currency

View Source
var Emoticons emoticons

Emoticons are all of Emoji

View Source
var MyRawData [][]string

MyRawData holds the raw data

View Source
var Regions regions

Regions are all of Regions

View Source
var Utf8BOM = []byte{0xEf, 0xBB, 0xBF}

Utf8BOM is written to start of files by Make

View Source
var Wikis wikis

Wikis are all of Wiki

Functions

func Init

func Init()

Init data

func Make

func Make(basename string) *os.File

Make returns a new RW file 'basename' inside myRoot

func Open

func Open(basename string) *os.File

Open returns a R-ONLY file 'basename' from myRoot

func PopulateTemplate

func PopulateTemplate(pattern string) *template.Template

PopulateTemplate returns the external templates

func Println

func Println(a ...interface{}) (n int, err error)

Println for easy access

Types

type Airport

type Airport struct {
	Country
	CityOf
	// contains filtered or unexported fields
}

Airport are airports

type CityOf

type CityOf struct {
	Country
	Airport id
	// contains filtered or unexported fields
}

CityOf are cities

type Country

type Country struct {
	Currency id
	Region
	// contains filtered or unexported fields
}

Country are Countries

type Currency

type Currency struct {
	Country
	// contains filtered or unexported fields
}

Currency are Currencies of Countries

type Emoji

type Emoji struct {
	Aliases []string
	ASCIIes []string
	// contains filtered or unexported fields
}

Emoji are emoticons

type Region

type Region struct {
	// contains filtered or unexported fields
}

Region are Regions of Countries

type Table

type Table interface {
	// contains filtered or unexported methods
}

Table is the common interface

type TableRow

type TableRow interface {
	// contains filtered or unexported methods
}

TableRow is the common interface

type Wiki

type Wiki struct {
	Icon            string
	PageTitlePrefix string
	FavName         string
	FavOpt          string
	FavRelpath      string
	// contains filtered or unexported fields
}

Wiki are wikis

Jump to

Keyboard shortcuts

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