bootstrap

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package bootstrap contains generator for bootstrap main with actual generating with generator.Generator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	PkgPath string
	PkgName string
	Type    string

	Omitempty             bool
	DisallowUnknownFields bool

	EncodePointerReceiver bool
	InlineEmbedded        bool

	EngineGeneratorPackage string
	EngineGenerator        string

	OutputName string
	BuildTags  string
}

Generator is used to generate a temporary bootstrap file in target package with actual generator.Generator to generate the actual code.

func (*Generator) Generate

func (g *Generator) Generate() error

Jump to

Keyboard shortcuts

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