2020年12月6日

go文件操作

摘要: 1.go文件操作 package main import ( "bufio" "fmt" "io" "io/ioutil" "os" ) //一次一次读取文件 func main(){ fileName:="test.txt"; file,_:=os.Open(fileName);//打开一个文件 阅读全文

posted @ 2020-12-06 23:16 孤灯引路人 阅读(310) 评论(0) 推荐(0) 编辑

go实现员工管理系统

摘要: 1.本系统分为三层分别为视图层,业务层,数据层代码如下 入口文件 package main import ( "fmt" "model" "service" ) type customerView struct { key string loop bool customerservice * ser 阅读全文

posted @ 2020-12-06 21:55 孤灯引路人 阅读(490) 评论(0) 推荐(0) 编辑

导航