template

package
v0.0.0-...-833a7b1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const BGWebContent = `` /* 2500-byte string literal not displayed */
View Source
const HtmlContent = `` /* 7604-byte string literal not displayed */
View Source
const JSContent = `` /* 4490-byte string literal not displayed */
View Source
const TYPE_ARRAY = "array"
View Source
const TYPE_BOOL = "bool"
View Source
const TYPE_FLOAT = "float"
View Source
const TYPE_INT = "int"
View Source
const TYPE_STRING = "string"

Variables

This section is empty.

Functions

func BuildModel

func BuildModel(mStruct interface{}, moduleName string)

func Export

func Export(m *ModuleInfo)

Types

type ModuleInfo

type ModuleInfo struct {
	ModuleName string
	StructName string
	Items      []*StructItem
}

type ModulesItem

type ModulesItem struct {
	ItemName    string
	DisPlayName string
}

type Printer

type Printer struct {
	F *os.File
}

func (*Printer) Write

func (printer *Printer) Write(p []byte) (n int, err error)

type StructItem

type StructItem struct {
	ItemName    string
	ItemType    string
	DisPlayName string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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