Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var W = library{ // contains filtered or unexported fields }
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
FileInfo() os.FileInfo //FileInfoTools 返回值
GetFileInfo(filePath string) bool //获取文件信息
WriteAppend(filePath, buf string) (ok bool) //循环写入buf到文件
WriteGoFine(FileName string, buf []byte) (ok bool) //写go文件
WriteFile(FileName string, obj interface{}) (ok bool) //写文件
JsonMarshalIndent2File(FileName string, obj interface{}) (ok bool) //序列化buf为json格式并写文件
FileToLines(src string) (lines []string, ok bool)
}
Click to show internal directories.
Click to hide internal directories.