internal

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDir

func BuildDir(absDir string) error

BuildDir 创建目录

func Debugf

func Debugf(fmt string, args ...any)

func Error

func Error(fmt string, args ...any)

func Errorf

func Errorf(fmt string, args ...any)

func Failf

func Failf(fmt string, args ...any)

func Fatalf

func Fatalf(fmt string, args ...any)

func FileIsExist

func FileIsExist(filename string) bool

FileIsExist 检查目录是否存在

func Greenf

func Greenf(fmt string, args ...any)

func Info

func Info(args ...any)

func Infof

func Infof(fmt string, args ...any)

func Note

func Note(args ...any)

func OKf

func OKf(fmt string, args ...any)

func ReadFile

func ReadFile(fname string) []byte

ReadFile 读取文件

func Redf

func Redf(fmt string, args ...any)

func Warnf

func Warnf(fmt string, args ...any)

func Whitef

func Whitef(fmt string, args ...any)

func WriteFile

func WriteFile(fname string, src []byte, isClear bool) bool

WriteFile 写入文件

func Yellowf

func Yellowf(fmt string, args ...any)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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