Documentation ¶
Overview ¶
Package patch is command set for patching service code.
Index ¶
- func AdaptMonoRepoCommand() *cobra.Command
- func CopyGOModCommand() *cobra.Command
- func CopyProtoCommand() *cobra.Command
- func CopyThirdPartyProtoCommand() *cobra.Command
- func DeleteJSONOmitemptyCommand() *cobra.Command
- func GenTypesPbCommand() *cobra.Command
- func GenerateDBInitCommand() *cobra.Command
- func ModifyDuplicateErrCodeCommand() *cobra.Command
- func ModifyDuplicateNumCommand() *cobra.Command
- func ModifyProtoPackageCommand() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptMonoRepoCommand ¶
AdaptMonoRepoCommand Adapt to mono-repo command
func CopyGOModCommand ¶ added in v1.1.18
CopyGOModCommand copy go mod files
func CopyProtoCommand ¶
CopyProtoCommand copy proto file from the grpc service directory
func CopyThirdPartyProtoCommand ¶ added in v1.1.18
CopyThirdPartyProtoCommand copy third-party proto files
func DeleteJSONOmitemptyCommand ¶
DeleteJSONOmitemptyCommand delete json omitempty
func GenTypesPbCommand ¶
GenTypesPbCommand generate types.proto code
func GenerateDBInitCommand ¶
GenerateDBInitCommand generate database initialization code
func ModifyDuplicateErrCodeCommand ¶
ModifyDuplicateErrCodeCommand modify duplicate error codes
func ModifyDuplicateNumCommand ¶
ModifyDuplicateNumCommand modify duplicate numbers
func ModifyProtoPackageCommand ¶
ModifyProtoPackageCommand modifies the package and go_package names of proto files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.