Documentation
¶
Index ¶
Constants ¶
View Source
const ( RunCompileCommandInitMsg = `Gonyx > Compiling the protobuf file ...` RunCompileCommandFileName = `Gonyx > "%s.proto" file is going to be compiled ...` RunCompileCommandError = `Gonyx > Compiling encountered the error: %s` RunCompileCommandFileNotExist = `Gonyx > %s.proto file does not exist in "%s"` )
View Source
const ( // Generate command constants GenerateSwaggerStartMessage = `Gonyx > Generating Swagger/OpenAPI documentation ...` GenerateSwaggerCompleteMessage = `Gonyx > Swagger documentation generated successfully in "%s" ...` GenerateSwaggerErrorMessage = `Gonyx > Error generating Swagger documentation ... %v` GenerateSwaggerOutputDirMessage = `Gonyx > Output directory: %s` GenerateSwaggerCheckingMessage = `Gonyx > Checking swag installation...` GenerateSwaggerNotFoundMessage = `Gonyx > Swag not found, installing...` GenerateSwaggerInstallSuccessMsg = `Gonyx > Swag installed successfully` GenerateSwaggerAlreadyInstalledMsg = `Gonyx > Swag is already installed` GenerateSwaggerInitRunningMsg = `Gonyx > Running 'swag init'...` GenerateSwaggerInitCompleteMsg = `Gonyx > 'swag init' completed successfully` GenerateSwaggerFmtRunningMsg = `Gonyx > Running 'swag fmt'...` GenerateSwaggerFmtCompleteMsg = `Gonyx > 'swag fmt' completed successfully` // Error messages GenerateSwaggerInstallFailMsg = `Gonyx > Failed to install swag: %v` GenerateSwaggerInitFailMsg = `Gonyx > Failed to run 'swag init': %v` GenerateSwaggerFmtFailMsg = `Gonyx > Failed to run 'swag fmt': %v` GenerateSwaggerInstallStartFailMsg = `Gonyx > Failed to start install command: %v` GenerateSwaggerInstallCmdFailMsg = `Gonyx > Install command failed: %v, stderr: %s` GenerateSwaggerInitStartFailMsg = `Gonyx > Failed to start 'swag init': %v` GenerateSwaggerInitCmdFailMsg = `Gonyx > 'swag init' failed: %v, stderr: %s` GenerateSwaggerFmtStartFailMsg = `Gonyx > Failed to start 'swag fmt': %v` GenerateSwaggerFmtCmdFailMsg = `Gonyx > 'swag fmt' failed: %v, stderr: %s` )
View Source
const ( RunServerInitMsg = `Gonyx > Running Server ...` RunServerShutdownMsg = `Gonyx > Shutting Down Server ...` )
Variables ¶
This section is empty.
Functions ¶
func NewCompileCommandCmd ¶
func NewGenerateCmd ¶ added in v0.3.15
NewGenerateCmd creates the main generate command
func NewGenerateSwaggerCmd ¶ added in v0.3.15
NewGenerateSwaggerCmd creates the swagger subcommand
func NewRunServerCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.