types

package
v1.0.0-...-5ac96c6 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2016 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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