pu369com

2020年9月14日

golang网页版简易资源管理器及执行cmd

摘要: package main import ( "fmt" "net/http" "os/exec" "strings" "golang.org/x/text/encoding/simplifiedchinese" ) func A(s string) string { s = s[1:] str0 : 阅读全文

posted @ 2020-09-14 18:21 pu369com 阅读(239) 评论(0) 推荐(0) 编辑

golang批量修改文件名

摘要: package main import ( "fmt" "io/ioutil" "strings" "os" "path/filepath" ) func main() { path := "." files, _ := ioutil.ReadDir(path) for index, f := ra 阅读全文

posted @ 2020-09-14 18:17 pu369com 阅读(903) 评论(0) 推荐(0) 编辑

导航