package
1.0.6
Repository: https://github.com/zeb-d/go-util.git
Documentation: pkg.go.dev

# Functions

文件头部添加内容.
文件尾部添加内容.
No description provided by the author
CatFile data from file write to the Writer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
判断所给路径文件/文件夹是否存在.
FindDigits find digits from file切片的底层指向一个数组,该数组的实际体积可能要大于切片所定义的体积。只有在没有任何切片指向的时候,底层的数组内层才会被释放,这种特性有时会导致程序占用多余的内存。.
No description provided by the author
判断所给路径是否为文件夹.
判断所给路径是否为文件.
No description provided by the author
No description provided by the author
No description provided by the author
MakeSupervisor create goroutine supervisor that proper panic.
No description provided by the author
No description provided by the author
No description provided by the author
NewContext 创建一个Context.
No description provided by the author
RandomBytes generate random []byte by specify chars.
No description provided by the author
输出的素数.
No description provided by the author
No description provided by the author
StringReverse support uft-8 string.
No description provided by the author
No description provided by the author
No description provided by the author
length is 13,time.
ToBytes 有4个字节的指针.
ToInt8s 有4个字节的指针.
No description provided by the author
遍历访问指定文件夹下的文件 @param root 需要遍历访问的文件夹 @param recursive 是否递归访问子文件夹 @param suffix 指定文件名后缀进行过滤,如果为"",则不过滤.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
行号范围 1表示首行,-1表示最后一行.
No description provided by the author
No description provided by the author

# Interfaces

具体使用见 LFCompressor 和 OriginCompressor.

# Type aliases

@param path 带路径的文件名 @param info 文件的 os.FileInfo 信息 @param content 文件内容 @return 返回nil或者content原始内容,则不修改文件内容,返回其他内容,则会覆盖重写文件.