{"modulePath":"github.com/acoderup/goctl","version":"v1.1.7","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package format\n\n## Variables\n\n```go\nvar ErrNamingFormat = errors.New(\"unsupported format\")\n```\nErrNamingFormat defines an error for unknown format\n\n## Functions\n\n```go\nfunc FileNamingFormat(format, content string) (string, error)\n```\nFileNamingFormat is used to format the file name. You can define the format style through the go and zero formatting characters. For example, you can define the snake format as go\\_zero, and the camel case format as goZero. You can even specify the split character, such as go#Zero, theoretically any combination can be used, but the prerequisite must meet the naming conventions of each operating system file name. Note: Formatting is based on snake or camel string\n\n","path":"github.com/acoderup/goctl/util/format","name":"format","synopsis":"","isRedistributable":true}
