03 2023 档案
摘要:func main() { // 修改文件所属组 os.Chown( filename, uid, gid) } // 检查目录是否存在 func checkDirExist(path string) (bool, error) { s, err := os.Stat(path) if err !=
阅读全文
摘要:package main import ( "bufio" "encoding/csv" "flag" "fmt" "os" "regexp" "sort" "strings" "sync" "time" ) type BatteryPercent struct { Timestamp int64
阅读全文