utils

package
v0.1.33 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(ss []string, s string) bool

Contains returns true if 's' is inside 'ss'.

func CreateOpenAPIDocFromGnosticOutput

func CreateOpenAPIDocFromGnosticOutput(binaryInput []byte) (*openapiv3.Document, error)

func ExtendPath

func ExtendPath(path []string, items ...string) (newPath []string)

extendPath adds string to end of a copy of path

func ParseOpenAPIDoc

func ParseOpenAPIDoc(input string) (*openapiv3.Document, error)

func ProtoTextBytes

func ProtoTextBytes(m protoreflect.ProtoMessage) ([]byte, error)

Formats readable protobuf message

Types

This section is empty.

Jump to

Keyboard shortcuts

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