gin
PythonFlask
2. 安装
main.go
运行:
go.modgo mod tidy

go build main.gomain.exe
main.exe

127.0.0.1:8080/hello

HTMLmain.go
templatestemplatesindex.tmplindex.htmlindex.tmpl
3. 使用 go build main.go 生成 main.exe
4. 运行 main.exe

5. 打开网页 127.0.0.1:8080/index

4. 更多官方例子:
看 : 官网(可能要 翻墙 ......)