Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(name DriverName, driver Driver)
Register makes a generator driver available by the provided name. If Register is called twice with the same name or if driver is nil, it panics.
Types ¶
type DriverName ¶
type DriverName string
DriverName holds names of drivers implementations.
const ( DriverNameFlag DriverName = "flag" DriverNamePFlag DriverName = "pflag" DriverNameCobra DriverName = "cobra" DriverNameRefType DriverName = "reftype" DriverNameBubbleTea DriverName = "bubbletea" )
type Reference ¶
type Reference string
Reference helps to represent full qualified group name.
func NewReference ¶
Click to show internal directories.
Click to hide internal directories.