tmpl

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DslTmpl

type DslTmpl struct {
	PackageName string
	StructName  string
}

func (*DslTmpl) Gen

func (p *DslTmpl) Gen(w io.Writer) error

type Tmpl

type Tmpl struct {
	PackageName string `clop:"short;long" usage:"package name"`
	SaveFile    string `clop:"short;long" usage:"save to file"`
	Dsl         bool   `clop:"long" usage:"init dsl tmpl"`
}

func (*Tmpl) SubMain

func (t *Tmpl) SubMain()

Jump to

Keyboard shortcuts

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