Documentation
¶
Index ¶
Constants ¶
View Source
const ( // CommandCreateWaitingTitle represents the title of the project creation waiting. CommandCreateWaitingTitle string = "> Gowebly CLI is creating your project. Please wait...\n" // CommandUnknownSummaryTitle represents the title of the unknown summary. CommandErrorSummaryTitle string = "✕ Oops... Something went wrong!\n" // CommandCreateSummaryTitle represents the title of the project summary. CommandCreateSummaryTitle string = "✓ Your project has been created successfully!\n" // CommandCreateSummaryHeadingBackend represents the heading of the backend summary. CommandCreateSummaryHeadingBackend string = "Backend ↘" // CommandCreateSummaryHeadingFrontend represents the heading of the frontend summary. CommandCreateSummaryHeadingFrontend string = "Frontend ↘" // CommandCreateSummaryHeadingTools represents the heading of the tools summary. CommandCreateSummaryHeadingTools string = "Tools ↘" // CommandCreateSummaryDescription represents the description of the project summary. CommandCreateSummaryDescription string = "" /* 347-byte string literal not displayed */ // CommandDoctorSummaryTitle represents the title of the system summary. CommandDoctorSummaryTitle string = "✓ Your system information has been collected successfully!\n" // CommandDoctorSummarySubTitle represents the subtitle of the system summary. CommandDoctorSummarySubTitle string = "Copy this information to paste into an issue ↘" // CommandDoctorSummaryDescription represents the description of the system summary. CommandDoctorSummaryDescription string = "" /* 164-byte string literal not displayed */ // CommandUnknownSummaryTitle represents the title of the unknown summary. CommandUnknownSummaryTitle string = "~ This command doesn't exist...\n" // CommandUnknownSummarySubTitle represents the subtitle of the unknown summary. CommandUnknownSummarySubTitle string = "List of the available commands ↘" // CommandUnknownSummaryDescription represents the description of the unknown summary. CommandUnknownSummaryDescription string = "%s\n\n`%s` to start creating a new project\n`%s` to collecting info about your system\n`%s` to running your project" // CommandMoreInformationTitle represents the title of the more information string. CommandMoreInformationTitle string = "\n✱ For more information go to the official docs: https://gowebly.org \n" )
View Source
const ( // ErrorGoweblyDINotComplete represents error message, when dependency injection not complete. ErrorGoweblyDINotComplete string = "dependency injection process is not complete: %w" // ErrorOSFileIsExists represents error message, when user want to create a file, but this file is exists. ErrorOSFileIsExists string = "file '%s' is exists, can't be overwritten (clean up first)" // ErrorOSFolderIsExists represents error message, when user want to create a folder, but this folder is exists. ErrorOSFolderIsExists string = "folder with name '%s' is exists, can't be overwritten (clean up first)" // ErrorOSRemoveFile represents error message, when user want to remove a file. ErrorOSRemoveFile string = "can't remove a file with name '%s': %w" // ErrorCMDNotExecuteCommand represents error message, when a cmd command was not executed. ErrorCMDNotExecuteCommand string = "can't execute command '%s' with option '%s': %w" // ErrorHTTPDownloadFile represents error message, when user want to download a file from URL. ErrorHTTPDownloadFile string = "can't download file from URL '%s' (code %d)" // ErrorFormNotRun represents error message, when a form was not run. ErrorFormNotRun string = "failed to run '%s' form in the '%s' command: %w" // ErrorGoroutineActionNotSuccess represents error message, when a goroutine action was not success. ErrorGoroutineActionNotSuccess string = "failed to run action '%s' in goroutine: %w" )
View Source
const ( // FormPromptSignature represents the prompt signature for the form. FormPromptSignature string = "> " // FormWelcomeDescription represents the description of the welcome message. FormWelcomeDescription string = "" /* 198-byte string literal not displayed */ // FormGoModuleNameTitle represents the title for the Go module name input. FormGoModuleNameTitle string = "What's your Go module name in the go.mod file?\n" // FormGoModuleNameDescription represents the description for the Go module name input. FormGoModuleNameDescription string = "Option can be any name of your Go module (e.g., `github.com/user/project`).\n" // FormPortTitle represents the title for the backend port input. FormPortTitle string = "What's your port number to run backend server?\n" // FormPortDescription represents the description for the backend port input. FormPortDescription string = "Option can be any available port in your system (e.g., `7000`).\n" // FormPackageNameTitle represents the title for the frontend package name input. FormPackageNameTitle string = "What's your project name in the package.json file?\n" // FormPackageNameDescription represents the description for the frontend package name input. FormPackageNameDescription string = "Option can be any name of your package.json (e.g., `project`).\n" // FormGoFrameworkTitle represents the title for the Go framework select. FormGoFrameworkTitle string = "Select the Go web framework or router\n" // FormGoFrameworkDescription represents the description for the Go framework select. FormGoFrameworkDescription string = "This framework (or router) will be used to build\nthe backend part of your application.\n" // FormGoFrameworkTitle represents the title for the reactivity library select. FormReactivityLibraryTitle string = "Select the reactivity library\n" // FormGoFrameworkDescription represents the description for the reactivity library select. FormReactivityLibraryDescription string = "This reactivity library will be used in the frontend part\nof your application.\n" // FormCSSFrameworkTitle represents the title for the frontend CSS framework select. FormCSSFrameworkTitle string = "Select a CSS framework or components library\n" // FormCSSFrameworkDescription represents the description for the frontend CSS framework select. FormCSSFrameworkDescription string = "This framework (or components library) will be used to build\nthe UI part of your application.\n" // FormAirUsageTitle represents the title for the Air tool switch. FormAirUsageTitle string = "Use the Air tool to enable live-reloading for your application?\n" // FormAirUsageDescription represents the description for the Air tool switch. FormAirUsageDescription string = "" /* 152-byte string literal not displayed */ // FormRuntimeUsageTitle represents the title for the Bun runtime environment switch. FormBunUsageTitle string = "Use the Bun as a frontend runtime environment?\n" // FormRuntimeUsageDescription represents the description for the Bun runtime environment switch. FormBunUsageDescription string = "" /* 130-byte string literal not displayed */ // FormTempleUsageTitle represents the title for the Templ package switch. FormTemplUsageTitle string = "Use the Templ package to build HTML templates with Go?\n" // FormTempleUsageDescription represents the description for the Templ package switch. FormTemplUsageDescription string = "" /* 131-byte string literal not displayed */ // FormGolangCILintUsageTitle represents the title for the Golang CI Lint switch. FormGolangCILintUsageTitle string = "Use the Golang CI Lint to lint your Go code?\n" // FormGolangCILintUsageDescription represents the description for the Golang CI Lint switch. FormGolangCILintUsageDescription string = "This tool will be used to lint your Go code.\n\nFor more info → https://github.com/golangci/golangci-lint" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.