Documentation ¶
Index ¶
- func CopyFile(source, target string) error
- func CopyFiles(source, target string) error
- func FindDocuments(path string) ([]string, error)
- func GetFreePort() (int, error)
- func IsDir(elem string) bool
- func IsDocument(path string) bool
- func IsExist(path string) bool
- func IsFile(path string) bool
- func Join(elem ...string) string
- func MakeIdGenerator(prefix string) func() string
- func ParseJson(data []byte, out any) error
- func ParseYaml(data []byte, out any) error
- func ReadDocument(path string, v any) error
- func ReadYamlFromData(in []byte, out any) error
- func WriteDocument(path string, v any) error
- func YamlToJson(in []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindDocuments ¶
func GetFreePort ¶ added in v0.8.0
func IsDocument ¶
func MakeIdGenerator ¶ added in v0.8.0
func ReadDocument ¶
func ReadYamlFromData ¶
func WriteDocument ¶
func YamlToJson ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.