Documentation
¶
Index ¶
- Variables
- func DecodeToml(content []byte, t any)
- func FileContent(path string, file os.DirEntry) []byte
- func GenerateSumeUp(name string, m map[string]string, s string)
- func HandleError(err error)
- func RelativeToAbsolute(path string, contextPath string) string
- func Scan(s *string) error
- func StringArrayToString(a []string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ContextPath string
)
Functions ¶
func DecodeToml ¶
func HandleError ¶
func HandleError(err error)
HandleError Handle basically every error with a panic
func RelativeToAbsolute ¶
RelativeToAbsolute convert relative path into absolute path
path: the path to convert
contextPath: the contextual path, with a slash (/) at the end
func StringArrayToString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.