Documentation
¶
Overview ¶
Package types contains all the common types and interfaces for generating flag accessors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseTmplData ¶
type BaseTmplData struct { OutputPath string Flags []*FlagTmplData }
BaseTmplData is the base for all OpenFeature code generation.
type FlagTmplData ¶
FlagTmplData is the per-flag specific data. It represents a common interface between Mendel source and codegen file output.
type Generator ¶
Generator provides interface to generate language specific, strongly-typed flag accessors.
type Input ¶
type Input struct {
BaseData *BaseTmplData
}
type TmplDataInterface ¶
type TmplDataInterface interface { // BaseTmplDataInfo returns a pointer to a BaseTmplData struct containing // all the relevant information needed for metadata construction. BaseTmplDataInfo() *BaseTmplData }
Click to show internal directories.
Click to hide internal directories.