Documentation ¶
Overview ¶
Package types implements types used in the gentmpl utility
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetManager ¶
type AssetManager uint8
AssetManager is the enum type of the AssetManager possible values
const ( AssetManagerNone AssetManager = iota AssetManagerGoBindata AssetManagerGoRice )
AssetManager possible values
func ParseAssetManager ¶
func ParseAssetManager(s string) (AssetManager, error)
ParseAssetManager converts a string to an AssetManager value.
func (AssetManager) IsGoBindata ¶
func (am AssetManager) IsGoBindata() bool
IsGoBindata returns true if AssetManager is GoBindata
func (AssetManager) IsGoRice ¶
func (am AssetManager) IsGoRice() bool
IsGoRice returns true if AssetManager is GoRice
func (AssetManager) IsNone ¶
func (am AssetManager) IsNone() bool
IsNone returns true if AssetManager is None
func (AssetManager) MarshalTOML ¶
func (am AssetManager) MarshalTOML() ([]byte, error)
MarshalTOML implements the toml.Marshaler interface.
func (AssetManager) String ¶
func (am AssetManager) String() string
String return the string representation of an AssetManager value.
func (*AssetManager) UnmarshalTOML ¶
func (am *AssetManager) UnmarshalTOML(data []byte) (err error)
UnmarshalTOML implements the toml.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.