...

Package genaip

import "go.einride.tech/aip/cmd/protoc-gen-go-aip/internal/genaip"
Overview
Index

Overview ▾

Package genaip provides a protobuf compiler plugin for resource-oriented gRPC APIs.

Constants

PluginName is the name of the AIP Go protobuf compiler plugin.

const PluginName = "protoc-gen-go-aip"

Variables

PluginVersion is the version of the protoc-gen-go-aip plugin.

var PluginVersion = "development"

func Run

func Run(gen *protogen.Plugin, config Config) error

Run the AIP Go protobuf compiler plugin.

type Config

type Config struct {
    IncludeResourceDefinitions bool
}