README ¶ goctl 魔改版 主要做了以下修改 1.logic生成 err类型修改为 github.com/go-kratos/kratos/v2/errors 需要返回 code reason message 2.response 统一修改为 code message data 类型的响应 3.swagger生成可以使用 https://github.com/sliveryou/goctl-swagger Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files goctl.go Directories ¶ Show internal Expand all Path Synopsis api apigen dartgen docgen format gogen javagen ktgen new parser parser/g4/ast parser/g4/gen/api spec tsgen util validate bug cmd compare cmd config docker env example rpc/hello rpc/hello/client/greet rpc/hello/internal/config rpc/hello/internal/logic/greet rpc/hello/internal/server/greet rpc/hello/internal/svc rpc/hello/pb/hello rpc/hi rpc/hi/client/event rpc/hi/client/greet rpc/hi/internal/config rpc/hi/internal/logic/event rpc/hi/internal/logic/greet rpc/hi/internal/server/event rpc/hi/internal/server/greet rpc/hi/internal/svc rpc/hi/pb/hi gateway internal cobrax errorx flags version kube migrate model mongo mongo/generate mongo/template sql/builderx sql/command sql/command/migrationnotes sql/converter sql/gen sql/model sql/parser sql/template sql/test sql/test/model sql/util pkg collection downloader env goctl golang parser/api/assertx parser/api/ast parser/api/format parser/api/importstack parser/api/parser parser/api/placeholder parser/api/scanner parser/api/token protoc protocgengo protocgengogrpc response plugin demo quickstart rpc cli execx generator parser test tpl update config upgrade util console ctx env format name Package name provides methods to verify naming style and format naming style See the method IsNamingValid, FormatFilename Package name provides methods to verify naming style and format naming style See the method IsNamingValid, FormatFilename pathx stringx zipx vars Click to show internal directories. Click to hide internal directories.