package
0.45.0
Repository: https://github.com/lerenn/asyncapi-codegen.git
Documentation: pkg.go.dev

# Functions

Args is a function used to pass arguments to templates.
ConvertKey is used in template to convert schema property key name according to chosen strategy.
CutSuffix is a function used to remove a suffix to a string.
DefaultNamifier will convert a sentence to a golang conventional type name.
DescribeStruct will describe a struct in a human-readable way using `%+v` format from the standard library.
DisableDateOrTimeGeneration is used to disable the generation of date/date-time formats within types.
HasField will check if a struct has a field with the given name.
HelpersFunctions returns the functions that can be used as helpers in a golang template.
MultiLineComment will prefix each line of a comment with "// " in order to make it a valid multiline golang comment.
Namify is used in template to generated golang structs names according to chosen strategy.
NamifyWithoutParams will convert a sentence to a golang conventional type name.
SetConvertKeyFn sets the function used to convert schema property key names.
SetNamifyFn sets the function used to generate golang struct names.