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 cache/memory cache/memorycache cache/redis captcha config/loadConfig config/webAutoLoadConfig httplib/basic httplib/debug httplib/file httplib/filter/custom httplib/filter/opentracing httplib/filter/prometheus httplib/header httplib/timeout httpserver/basic httpserver/controller/basic httpserver/controller/error/abort httpserver/controller/error/customize httpserver/controller/error/errorpage httpserver/controller/error/redirect httpserver/controller/request/body httpserver/controller/request/data-binding httpserver/controller/request/form-data httpserver/controller/request/query httpserver/controller/request/router-params httpserver/controller/request/upload httpserver/controller/validation httpserver/cookie httpserver/download httpserver/filter/basic httpserver/filter/filter_chain httpserver/filter/opentracing httpserver/filter/prometheus httpserver/middleware/custom httpserver/middleware/thirdparty httpserver/route httpserver/session httpserver/views httpserver/xsrf logger/console logger/es logger/file logger/formatter/pattern orm/default_value orm/mysql orm/postgres orm/sqlite3 orm/transaction/closure orm/transaction/manual task Gin Demo-Simple Click to show internal directories. Click to hide internal directories.