internal

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 10 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 added in v0.6.0

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

func Error added in v0.6.0

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

func Errorf added in v0.6.0

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

func Failf added in v0.6.0

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

func Fatalf added in v0.6.0

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

func FileIsExist

func FileIsExist(filename string) bool

FileIsExist 检查目录是否存在

func GetFormat added in v0.6.0

func GetFormat(t string, customFormat string) string

func GetModuleInfo added in v0.6.0

func GetModuleInfo(n int) (string, string, bool)

GetModuleInfo 获取项目[module name] [根目录绝对地址]

func GetType added in v0.6.0

func GetType(t string) string

func Greenf added in v0.6.0

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

func Info added in v0.6.0

func Info(args ...any)

func Infof added in v0.6.0

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

func IsInternalType

func IsInternalType(t string) bool

IsInternalType 是否是内部类型

func OKf added in v0.6.0

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

func ReadFile

func ReadFile(fname string) []byte

ReadFile 读取文件

func Redf added in v0.6.0

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

func Spend added in v0.6.0

func Spend(name string) func()

func Warnf added in v0.6.0

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

func Whitef added in v0.6.0

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

func WriteFile

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

WriteFile 写入文件

func Yellowf added in v0.6.0

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

Types

This section is empty.

Directories

Path Synopsis
Package ast_parser get type information from a package using go/ast
Package ast_parser get type information from a package using go/ast

Jump to

Keyboard shortcuts

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