utils

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(v interface{})

func Hash

func Hash(v interface{}) [32]byte

func LoadJsonFileIntoStruct

func LoadJsonFileIntoStruct(path string, v interface{}) error

func LoadYamlFileIntoStruct

func LoadYamlFileIntoStruct(path string, v interface{}) error

func LsDirs

func LsDirs(path string) ([]string, error)

func LsFiles

func LsFiles(path string) ([]string, error)

func WriteFileAsJson

func WriteFileAsJson(v interface{}, out string) error

func WriteFileAsYaml

func WriteFileAsYaml(v interface{}, out string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL