util

package
v2.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescriptorDocs

func DescriptorDocs(descriptor protoreflect.Descriptor) string

DescriptorDocs returns the leading comments of the descriptor. TODO this does not work, to fix.

func DescriptorKebabName

func DescriptorKebabName(descriptor protoreflect.Descriptor) string

DescriptorName returns the name of the descriptor in kebab case.

func IsSupportedVersion

func IsSupportedVersion(input string) bool

IsSupportedVersion is used to determine in which version of a module / sdk a rpc was introduced. It returns false if the rpc has comment for an higher version than the current one.

func ResolveMessageType

Types

This section is empty.

Jump to

Keyboard shortcuts

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