go-frame

module
v0.0.0-...-15aa785 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2023 License: Apache-2.0

README

go-frame

Golang 脚手架

辅助工具

  1. go install github.com/swaggo/swag/cmd/swag@latest
  2. go install github.com/dkorunic/betteralign/cmd/betteralign@latest
  3. sudo apt-get install upx-ucl (ubuntu)
  4. https://github.com/protocolbuffers/protobuf/releases 下载对应平台的protoc
  5. go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
  6. go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
  7. go install github.com/securego/gosec/v2/cmd/gosec@latest
  8. go install github.com/hyetpang/go-code-gen@latest

Directories

Path Synopsis
internal
adapter/log
* @Date: 2022-04-30 16:35:51 * @LastEditTime: 2022-04-30 16:38:17 * @FilePath: \go-frame\internal\adapter\logadapter\cron_zap_adapter.go
* @Date: 2022-04-30 16:35:51 * @LastEditTime: 2022-04-30 16:38:17 * @FilePath: \go-frame\internal\adapter\logadapter\cron_zap_adapter.go
components/gin
* @Date: 2022-04-30 16:15:16 * @LastEditTime: 2022-05-13 10:06:10 * @FilePath: /go-frame/internal/components/gin/gin.go
* @Date: 2022-04-30 16:15:16 * @LastEditTime: 2022-05-13 10:06:10 * @FilePath: /go-frame/internal/components/gin/gin.go
components/logs
* @Date: 2022-04-30 10:34:56 * @LastEditTime: 2022-04-30 16:03:18 * @FilePath: \go-frame\internal\components\logs\init.go
* @Date: 2022-04-30 10:34:56 * @LastEditTime: 2022-04-30 16:03:18 * @FilePath: \go-frame\internal\components\logs\init.go
components/mysql
* @Date: 2022-04-30 10:35:09 * @LastEditTime: 2022-05-07 22:22:12 * @FilePath: \go-frame\internal\components\mysql\mysql.go
* @Date: 2022-04-30 10:35:09 * @LastEditTime: 2022-05-07 22:22:12 * @FilePath: \go-frame\internal\components\mysql\mysql.go
components/redis
* @Date: 2022-04-30 10:35:09 * @LastEditTime: 2022-05-07 21:15:53 * @FilePath: \go-frame\internal\components\redis\redis.go
* @Date: 2022-04-30 10:35:09 * @LastEditTime: 2022-05-07 21:15:53 * @FilePath: \go-frame\internal\components\redis\redis.go
components/tasks
* @Date: 2022-04-30 15:53:54 * @LastEditTime: 2022-05-01 22:54:24 * @FilePath: \go-frame\internal\components\tasks\tasks.go
* @Date: 2022-04-30 15:53:54 * @LastEditTime: 2022-05-01 22:54:24 * @FilePath: \go-frame\internal\components\tasks\tasks.go
pkgs
app
* @Date: 2022-04-30 10:34:56 * @LastEditTime: 2022-05-09 10:08:41 * @FilePath: /go-frame/pkgs/app/app.go
* @Date: 2022-04-30 10:34:56 * @LastEditTime: 2022-05-09 10:08:41 * @FilePath: /go-frame/pkgs/app/app.go
common
* @Date: 2022-04-30 10:34:56 * @LastEditTime: 2022-04-30 19:47:21 * @FilePath: \go-frame\pkgs\common\consts.go
* @Date: 2022-04-30 10:34:56 * @LastEditTime: 2022-04-30 19:47:21 * @FilePath: \go-frame\pkgs\common\consts.go
logs
zap日志的封装
zap日志的封装
options
* @Date: 2022-04-30 10:34:56 * @LastEditTime: 2022-04-30 16:26:27 * @FilePath: \go-frame\pkgs\options\gin_option.go
* @Date: 2022-04-30 10:34:56 * @LastEditTime: 2022-04-30 16:26:27 * @FilePath: \go-frame\pkgs\options\gin_option.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL