README ¶ Web Beego Route Cookie Session Middleware ORM Cache Utils Config HttpLib Toolbox Gin 在 src 目录下创建一个 gin-demo/basic 目录来存放项目 在 basic 目录下运行 go mod init gin-demo/basic 初始化下 go.mod 文件 运行 go get -u github.com/gin-gonic/gin 下载 Gin 框架到本地 Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis Beego cache/file command cache/memory command cache/memorycache command cache/redis command captcha command config/loadConfig command config/webAutoLoadConfig command httplib/basic command httplib/debug command httplib/file command httplib/filter/custom command httplib/filter/opentracing command httplib/filter/prometheus command httplib/header command httplib/timeout command httpserver/basic command httpserver/controller/basic command httpserver/controller/error/abort command httpserver/controller/error/customize command httpserver/controller/error/errorpage command httpserver/controller/error/redirect command httpserver/controller/request/body command httpserver/controller/request/data-binding command httpserver/controller/request/form-data command httpserver/controller/request/query command httpserver/controller/request/router-params command httpserver/controller/request/upload command httpserver/controller/validation command httpserver/cookie command httpserver/download command httpserver/filter/basic command httpserver/filter/filter_chain command httpserver/filter/opentracing command httpserver/filter/prometheus command httpserver/middleware/custom command httpserver/middleware/thirdparty command httpserver/route command httpserver/session command httpserver/views command httpserver/xsrf command logger/console command logger/es command logger/file command logger/formatter/pattern command orm/default_value command orm/mysql command orm/postgres command orm/sqlite3 command orm/transaction/closure command orm/transaction/manual command task command Gin Demo-Simple command Click to show internal directories. Click to hide internal directories.