mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 01:30:25 +08:00
1c9e81aa28
* rebase upstream * rebase * trim no need line * trim no need line * trim no need line * update doc * remove update * remove no need * remove no need * goctl add jwt support * goctl add jwt support * goctl add jwt support * goctl support import * goctl support import * support return () * revert * refactor and rename folder to group * remove no need * add anonymous annotation * optimized * rename * rename * update test * api add middleware support: usage: @server( middleware: M1, M2 ) * api add middleware support: usage: @server( middleware: M1, M2 ) * simple logic * optimized * optimized generator formatted code * optimized generator formatted code * add more test * refactor middleware generator * revert test * revert test * revert test * revert test * revert test Co-authored-by: kingxt <dream4kingxt@163.com>
14 lines
330 B
Go
14 lines
330 B
Go
package gogen
|
|
|
|
const (
|
|
interval = "internal/"
|
|
typesPacket = "types"
|
|
configDir = interval + "config"
|
|
contextDir = interval + "svc"
|
|
handlerDir = interval + "handler"
|
|
logicDir = interval + "logic"
|
|
middlewareDir = interval + "middleware"
|
|
typesDir = interval + typesPacket
|
|
groupProperty = "group"
|
|
)
|