Documentation ¶
Index ¶
- func Gen(gcf config.GenConfig) error
- func GetApiServiceName(apiDirName string) string
- func GetMainApiFilePath(apiDirName string) (string, bool, error)
- func GetProtoFilepath(protoDirPath string) ([]string, error)
- func RemoveExtraFiles(wd string, style string)
- type HandlerFile
- type ImportLines
- type JzeroApi
- type JzeroProtoApiMiddleware
- type JzeroRpc
- type JzeroSql
- type LogicFile
- type RegisterLines
- type ServerFile
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApiServiceName ¶
func GetProtoFilepath ¶ added in v0.20.0
func RemoveExtraFiles ¶ added in v0.20.0
Types ¶
type HandlerFile ¶
type ImportLines ¶
type ImportLines []string
func (ImportLines) String ¶
func (l ImportLines) String() string
type JzeroApi ¶
type JzeroProtoApiMiddleware ¶ added in v0.23.3
type JzeroRpc ¶
type JzeroRpc struct { Wd string Module string Style string RemoveSuffix bool ChangeLogicTypes bool }
func (*JzeroRpc) GetAllLogicFiles ¶ added in v0.20.0
func (*JzeroRpc) GetAllServerFiles ¶ added in v0.20.0
func (jr *JzeroRpc) GetAllServerFiles(protoSpec rpcparser.Proto) ([]ServerFile, error)
type JzeroSql ¶
type RegisterLines ¶
type RegisterLines []string
func (RegisterLines) String ¶
func (l RegisterLines) String() string
type ServerFile ¶
type ServerFile struct {
Path string
}
Click to show internal directories.
Click to hide internal directories.