Documentation ¶
Overview ¶
Package go contains the valyala/quicktemplate based code generation templates for Go used by cdproto-gen.
Index ¶
Constants ¶
View Source
const ( CommentWidth = 80 CommentPrefix = `// ` )
Comment consts.
Variables ¶
View Source
var Keep = map[string]bool{ "JavaScript": true, }
Keep are names to maintain exact spelling.
KeepUpper are names to keep in upper case.
Functions ¶
func CleanDesc ¶
CleanDesc cleans comments / descriptions of "<code>" and "</code>" strings and "`" characters, and fixes common misspellings.
func FormatComment ¶
FormatComment formats a comment.
func PackageName ¶
PackageName returns the package name to use for a domain.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.