obsprotobufgen

package
v0.0.0-...-7771f8c Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: CC0-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FieldNameObs2Protobuf

func FieldNameObs2Protobuf(fieldName string) string

func Generate

func Generate(
	ctx context.Context,
	w io.Writer,
	p *obsdoc.Protocol,
	staticProto *parser.Proto,
) error

func IsFloatNumber

func IsFloatNumber(fieldName string) bool

func TypeNameObs2Protobuf

func TypeNameObs2Protobuf(
	typeName string,
	fieldName string,
	existingObjectTypes map[string]struct{},
) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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