utils

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckErrWithStatus

func CheckErrWithStatus(err error)

func CheckExist

func CheckExist(p string) bool

func CurrentDir

func CurrentDir() string

func Error

func Error(err error)

func GetModName

func GetModName() (mod string)

func InStrArr

func InStrArr(arr []string, aim string) bool

func Info

func Info(s string)

func LoadFiles

func LoadFiles(dir string, filter func(filename string) bool) (filenames []string)

func RemoveExt

func RemoveExt(filename string) string

func SaveToFile

func SaveToFile(p string, cnt []byte, cover bool) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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