templates

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(options *LoadOptions) (*template.Templates, error)

Types

type LoadOptions

type LoadOptions struct {
	SingleProtobuf  bool
	UseRocket       bool
	ExportOpenapi   bool
	ExportRust      bool
	OpenapiSettings string
	OutputDir       string
	PrototoolPath   string
	IncludePaths    []string
	Plugin          *protogen.Plugin
}

TODO: need to validate here for mandatory options

Jump to

Keyboard shortcuts

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