factory

package
v0.21.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder added in v0.21.1

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

func NewBuilder

func NewBuilder(path string, lookup *lookup.Lookup, types []parser.Type, messages []parser.Message) *Builder

func (*Builder) Build added in v0.21.1

func (b *Builder) Build() ([]generator.Data, error)

type Data

type Data struct {
	Package  string // Package name
	Messages string // string formated struct [...]message{...}
	LenMesgs uint16
}

Data represent factory.tmpl

type FieldName

type FieldName = string

type MessageName

type MessageName = string

Jump to

Keyboard shortcuts

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