{"modulePath":"github.com/acoderup/goctl","version":"v1.1.7","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package docker\n\n## Variables\n\n```go\nvar (\n\n\t// Cmd describes a docker command.\n\tCmd = cobrax.NewCommand(\"docker\", cobrax.WithRunE(dockerCommand))\n)\n```\n\n## Functions\n\n```go\nfunc Category() string\n```\nCategory returns the const string of docker category\n\n```go\nfunc Clean() error\n```\nClean deletes all templates files\n\n```go\nfunc GenTemplates() error\n```\nGenTemplates creates docker template files\n\n```go\nfunc RevertTemplate(name string) error\n```\nRevertTemplate recovers the deleted template files\n\n```go\nfunc Update() error\n```\nUpdate deletes and creates new template files\n\n## Types\n\n```go\ntype Docker struct {\n\tChinese     bool\n\tGoMainFrom  string\n\tGoRelPath   string\n\tGoFile      string\n\tExeFile     string\n\tBaseImage   string\n\tHasPort     bool\n\tPort        int\n\tArgument    string\n\tVersion     string\n\tHasTimezone bool\n\tTimezone    string\n}\n```\nDocker describes a dockerfile\n\n","path":"github.com/acoderup/goctl/docker","name":"docker","synopsis":"","isRedistributable":true}
