{"modulePath":"github.com/acoderup/goctl","version":"v1.1.7","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package console\n\n## Functions\n\n```go\nfunc Debug(format string, a ...any)\n```\n\n```go\nfunc Error(format string, a ...any)\n```\n\n```go\nfunc Fatalln(format string, a ...any)\n```\n\n```go\nfunc Info(format string, a ...any)\n```\n\n```go\nfunc MarkDone()\n```\n\n```go\nfunc Must(err error)\n```\n\n```go\nfunc Success(format string, a ...any)\n```\n\n```go\nfunc Warning(format string, a ...any)\n```\n\n## Types\n\n```go\ntype Console interface {\n\tSuccess(format string, a ...any)\n\tInfo(format string, a ...any)\n\tDebug(format string, a ...any)\n\tWarning(format string, a ...any)\n\tError(format string, a ...any)\n\tFatalln(format string, a ...any)\n\tMarkDone()\n\tMust(err error)\n}\n```\nConsole wraps from the fmt.Sprintf, by default, it implemented the colorConsole to provide the colorful output to the console and the ideaConsole to output with prefix for the plugin of intellij\n\n```go\nfunc NewColorConsole(enable ...bool) Console\n```\nNewColorConsole returns an instance of colorConsole\n\n```go\nfunc NewConsole(idea bool) Console\n```\nNewConsole returns an instance of Console\n\n```go\nfunc NewIdeaConsole() Console\n```\nNewIdeaConsole returns an instance of ideaConsole\n\n","path":"github.com/acoderup/goctl/util/console","name":"console","synopsis":"","isRedistributable":true}
