Documentation ¶
Index ¶
- Variables
- func ConvertYamlToJson(b []byte) ([]byte, error)
- func Exists(p string) bool
- func FixNameExt(dir string, name string) string
- func FixPathExt(p string) string
- func ReadYamlAllBytes(b []byte) ([]interface{}, error)
- func ReadYamlAllFile(p string) ([]interface{}, error)
- func ReadYamlAllStream(r io.Reader) ([]interface{}, error)
- func ReadYamlAllString(s string) ([]interface{}, error)
- func ReadYamlBytes(b []byte, o interface{}) error
- func ReadYamlFile(p string, o interface{}) error
- func ReadYamlStream(r io.Reader, o interface{}) error
- func ReadYamlString(s string, o interface{}) error
- func WriteYamlAllBytes(l []interface{}) ([]byte, error)
- func WriteYamlAllFile(p string, l []interface{}) error
- func WriteYamlAllStream(w io.Writer, l []interface{}) error
- func WriteYamlAllString(l []interface{}) (string, error)
- func WriteYamlBytes(o interface{}) ([]byte, error)
- func WriteYamlFile(p string, o interface{}) error
- func WriteYamlString(o interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Validator = validator.New()
)
Functions ¶
func ConvertYamlToJson ¶
func FixNameExt ¶
func FixPathExt ¶
func ReadYamlAllBytes ¶
func ReadYamlAllFile ¶
func ReadYamlAllStream ¶
func ReadYamlAllString ¶
func ReadYamlBytes ¶
func ReadYamlFile ¶
func ReadYamlStream ¶
func ReadYamlString ¶
func WriteYamlAllBytes ¶
func WriteYamlAllFile ¶
func WriteYamlAllStream ¶
func WriteYamlAllString ¶
func WriteYamlBytes ¶
func WriteYamlFile ¶
func WriteYamlString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.