templates

package
v0.14.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChannelToMessageTypeName

func ChannelToMessageTypeName(ch asyncapi.Channel) string

func DescribeStruct

func DescribeStruct(st interface{}) string

func GenerateChannelPath

func GenerateChannelPath(ch asyncapi.Channel) string

func HasField

func HasField(v interface{}, name string) bool

func IsRequired

func IsRequired(any asyncapi.Any, field string) bool

func MultiLineComment

func MultiLineComment(comment string) string

func Namify

func Namify(sentence string) string

func ReferenceToStructAttributePath

func ReferenceToStructAttributePath(ref string) string

func ReferenceToTypeName

func ReferenceToTypeName(ref string) string

func SnakeCase

func SnakeCase(sentence string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL