genenums

package
v0.0.0-...-4c44fda Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(data []*Data, out io.Writer) error

Render extends gqlgen's exectuionContext to map protobuf enums to gql enums

Types

type Data

type Data struct {
	ImportPath string
	Pkg        string
	Name       string
	GoName     string
}

Data is the Data that's needed to bridge protocol buffer enums and gql enums.

Jump to

Keyboard shortcuts

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