plugin

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PathTypeImport pathType = iota
	PathTypeSourceRelative
)

Available path singleTypes.

View Source
const GeneratedFilePostfix = ".db.go"

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin handles generation of code based on protobuf.

func NewPlugin

func NewPlugin() *Plugin

NewPlugin creates a new Plugin.

func (*Plugin) Run

func (p *Plugin) Run()

Run handles the input/output of the plugin. It reads the request from stdin and writes the response to stdout.

Jump to

Keyboard shortcuts

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