Go语言 Web框架Gin

笔记  Go 

Go语言 Web框架Gin返回helloworldpackage main import ("net/http" "github.com/gin-gonic/gin") func main() {router := gin.Default()router

Go文件读写

笔记  Go 

参考文档:https://www.liwenzhou.com/posts/Go/file/读取文件package main import ( "fmt" "io" "os") func main() {