Documentation
¶
Index ¶
- func ByteSlicePtr(bytes []byte) *[]byte
- func Compress(data []byte) (compressedBytes []byte, err error)
- func Decode(encoded string) (data []byte, err error)
- func Decompress(compressedBytes []byte) (data []byte, err error)
- func Deserialize(serialized string, data any) (err error)
- func DirExists(path string) bool
- func Encode(data []byte) (encoded string)
- func FileExists(path string) bool
- func GetURLContents(url string, headers map[string]string) ([]byte, error)
- func ReadFromYAML(filePath string, out any) error
- func Serialize(data any) (string, error)
- func StringPtr(s string) *string
- func WriteToYAML(filePath string, data any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteSlicePtr ¶
func Decompress ¶
func Deserialize ¶
func FileExists ¶
func GetURLContents ¶ added in v0.19.0
func ReadFromYAML ¶
func WriteToYAML ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.