Initial commit

master
monorepo 2022-01-10 15:21:58 +08:00
commit cf5f31b13a
11 changed files with 102 additions and 0 deletions

3
.drone.yml 100644
View File

@ -0,0 +1,3 @@
kind: pipeline
type: monorepo
name: backend

73
.gitignore vendored 100644
View File

@ -0,0 +1,73 @@
# ---> Go
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
# vendor/
# ---> macOS
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# ---> Windows
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp
# Windows shortcuts
*.lnk
logs

2
README.md 100644
View File

@ -0,0 +1,2 @@
# monorepo - backend

17
app/README.md 100644
View File

@ -0,0 +1,17 @@
# app
所有应用的入口。
## 应用类型
### `/api`——对外提供接口服务的应用
一般指对外提供`http`服务的应用。
### `/service`——仅对内部提供服务的应用
一般指对内提供`grpc`服务的应用
### `/job`——运行短暂的一次性任务
分为一般任务和定时任务

0
app/api/.keep 100644
View File

View File

4
go.mod 100644
View File

@ -0,0 +1,4 @@
module git.icechen.cn/monorepo/backend
go 1.17

3
pkg/README.md 100644
View File

@ -0,0 +1,3 @@
# backend
所有应用共享的基础通用库代码

0
pkg/orm/.keep 100644
View File

0
pkg/proto/.keep 100644
View File

0
pkg/rpc/.keep 100644
View File