Help us shape the future of Go! Take the 2026 Go Developer Survey

generator

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package generator generates the Zero's bootstrap code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(out io.Writer, graph *depgraph.Graph, options ...Option) error

Generate Zero's bootstrap code.

Types

type Option added in v0.4.0

type Option func(*generateOptions)

func WithTags added in v0.4.0

func WithTags(tags ...string) Option

WithTags sets the list of //go:build tags to include in the generated code.

Jump to

Keyboard shortcuts

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