ginPythonFlask2. 安装
main.go运行:
go.modgo mod tidy
go build main.gomain.exemain.exe
127.0.0.1:8080/hello
HTMLmain.gotemplatestemplatesindex.tmplindex.htmlindex.tmpl3. 使用 go build main.go 生成 main.exe
4. 运行 main.exe

5. 打开网页 127.0.0.1:8080/index

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