compile

package
v0.6.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Documents

func Documents(base *model.Document, layers []*model.Document, opts ...Option) (*model.Document, error)

Documents generates a taxonomy document from a base document and zero or more layer documents

func Files

func Files(baseDocPath string, layerDocPaths []string, opts ...Option) (*model.Document, error)

Files generates a taxonomy document from a base file and zero or more layer files

Types

type Option

type Option func(*compileOptions)

Option is the type for Compile options

func WithCodeGenerationTarget

func WithCodeGenerationTarget(enabled bool) Option

WithCodeGenerationTarget option to enable generating an output

that is more suitable for code generation tools

Jump to

Keyboard shortcuts

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