Versions in this module Expand all Collapse all v1 v1.1.0 Mar 31, 2017 v1.0.0 Mar 8, 2017 Changes in this version + const JSON + const YAML + func Asset(name string) ([]byte, error) + func AssetDir(name string) ([]string, error) + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func Confirmation(writer io.Writer, description string) (bool, error) + func Language(languageSource string, languageSources ...string) i18n.TranslateFunc + func LoadLocales(path string) error + func MarshallReader(writer io.Writer, data interface{}, format string) error + func MustAsset(name string) []byte + func ReadInputFile(path string) (io.Reader, string, error) + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + func ScannerLines(writer io.Writer, description string, instructions bool) (io.Reader, string, error) + func UnmarshalReader(data io.Reader, format string, dest interface{}) error + func ValidateRulesFormat(reader io.Reader) (io.Reader, error) + func YAMLToJSON(reader io.Reader, dst interface{}) (io.Reader, error)