# Functions
BuildTypes gen types to string.
Category returns the category of the api files.
Clean cleans the generated deployment files.
ConvertRoutePathToSwagger converts route path to swagger format.
DoGenProject gen go project files with api file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenTemplates generates api enttemplate files.
GoCommand gen go project files from command line.
RevertTemplate reverts the given enttemplate file to the default value.
Update updates the enttemplate files to the templates built in current goctl.
# Variables
VarBoolDisabledValidator describes whether to disable validator.
VarBoolErrorTranslate describes whether to translate error.
VarBoolGenCoreApiInit describes whether to auto gen core api init code.
VarBoolMultiple describes whether the proto contains multiple services.
VarBoolOptionalService describes whether to generate for optional service.
VarBoolOverwrite describes whether to overwrite the files, it will overwrite all generated files.
VarBoolUseCasbin describe whether to use Casbin.
VarBoolUseI18n describe whether to use i18n.
VarIntSearchKeyNum describe the number of search keys.
VarStringAPI describes the API.
VarStringAPIServiceName describe the API service name.
VarStringBranch describes the branch.
VarStringDir describes the directory.
VarStringExtraField describes the extra field for api logic code such as user id.
VarStringGroupName describes whether to use group.
VarStringGrpcPbPackage describes the grpc package.
VarStringHome describes the go home.
VarStringImportPrefix describes the prefix in import.
VarStringJSONStyle describes the JSON tag format.
VarStringModelChineseName describes the Chinese name of model.
VarStringModelEnglishName describes the English name of model.
VarStringModelName describe which model for generating.
VarStringOutput describes the output.
VarStringProto describe the proto file path.
VarStringRemote describes the remote git repository.
VarStringRoutePrefix describes the route prefix for api.
VarStringRpcName describes the rpc name in service context.
VarStringRPCServiceName describe the RPC service name.
VarStringSchema describes the ent schema path.
VarStringStyle describes the style of output files.
# Structs
GenContext describes the data used for api file generation.