generate

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

type Converter struct {
	StdModules map[string]bool
	ExtModules map[string]string
	Properties []Property
	Methods    map[string]string
	AppendCode []string
	State      string
	// contains filtered or unexported fields
}

Converter ...

func New

func New() *Converter

New ...

func (*Converter) Do

func (c *Converter) Do(output io.Writer, input io.Reader, pkg string) error

Do ...

type Generate

type Generate struct {
	*flag.FlagSet
	// contains filtered or unexported fields
}

Generate ...

func (*Generate) Execute

func (s *Generate) Execute(args []string) (err error)

Execute ...

func (*Generate) Usage

func (s *Generate) Usage()

Usage ...

type Property

type Property struct {
	Name string
	Type string
}

Property ...

Jump to

Keyboard shortcuts

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