Documentation
¶
Index ¶
- func DirSize(path string) (int64, error)
- func ExcludeMapKeys[K comparable, V any](a map[K]V, exclude ...K) map[K]V
- func Merge(data, patch interface{}) (interface{}, error)
- func MergeMaps[K comparable, V any](a, b map[K]V, exclude ...K) map[K]V
- func Sha256(content string) string
- func SliceContains[K comparable](l []K, key K) bool
- func SliceContainsObj[K comparable](l []K, obj K, f func(K, K) bool) bool
- func TomlDecode(data string) (interface{}, error)
- func TomlEncode(in interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExcludeMapKeys ¶
func ExcludeMapKeys[K comparable, V any](a map[K]V, exclude ...K) map[K]V
func MergeMaps ¶
func MergeMaps[K comparable, V any](a, b map[K]V, exclude ...K) map[K]V
func SliceContains ¶
func SliceContains[K comparable](l []K, key K) bool
func SliceContainsObj ¶
func SliceContainsObj[K comparable](l []K, obj K, f func(K, K) bool) bool
func TomlDecode ¶
func TomlEncode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.