codegen

package
v3.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Unit

type Unit struct {
	Declares string
	Requires []string
	Extra    map[string]any
	Imports  collection.StringSet
	Template string
}

type Units

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

func New

func New() *Units

func (*Units) Add

func (units *Units) Add(unit Unit) *Units

func (*Units) Slice

func (units *Units) Slice() []Unit

func (*Units) Take

func (units *Units) Take(identifier string) (u Unit, found bool)

Jump to

Keyboard shortcuts

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