package
1.6.2
Repository: https://github.com/jageros/goctl.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package name provides methods to verify naming style and format naming style See the method IsNamingValid, FormatFilename.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
EscapeGolangKeyword escapes the golang keywords.
GetHead returns a code head string with source filename.
Index returns the index where the item equal,it will return -1 if mismatched.
No description provided by the author
IsTemplateVariable returns true if the text is a template variable.
SafeString converts the input string into a safe naming style in golang.
TemplateVariable returns the variable name of the template.
Title returns a string value with s[0] which has been convert into upper case that there are not empty input text.
No description provided by the author
Untitle returns a string value with s[0] which has been convert into lower case that there are not empty input text.
With returns an instance of DefaultTemplate.

# Constants

DoNotEditHead added to the beginning of a file to prompt the user not to edit.

# Structs

DefaultTemplate is a tool to provides the text/template operations.