graphql

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package graphql provides the Graphql table generation functionality for converting VSPEC signals to Go structs and Graphql tables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(tmplData *codegen.TemplateData, outputDir string, cfg Config) error

Generate creates a new Graphql table file.

Types

type Config

type Config struct {
	// OutputFile is the name of the model to generate the graphql table.
	OutputFile string

	// TemplateFile is the path to the template file.
	TemplateFile string
}

Config is the configuration for the Graphql generator.

Jump to

Keyboard shortcuts

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