Documentation ¶
Overview ¶
Package utils provides utility functions for the protoc-gen-doc plugin
Index ¶
- func BoolToTickOrCross(b bool) string
- func FlattenComment(s string) string
- func PadRight(s string, padWith string, wantedLength int) string
- func PadRightSlice(inputs []string, padWith string, padTo []int) ([]string, error)
- func PluralSuffix(check int, pluralSuffix string, singularSuffix string) string
- func StringGTLengthHelper(v *int, s string)
- func WriteTable(g *protogen.GeneratedFile, inputData *TableData) error
- type TableData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToTickOrCross ¶
func FlattenComment ¶
func PadRightSlice ¶ added in v0.0.7
func StringGTLengthHelper ¶
func WriteTable ¶ added in v0.0.7
func WriteTable(g *protogen.GeneratedFile, inputData *TableData) error
Types ¶
Click to show internal directories.
Click to hide internal directories.