plugin

command
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 5 Imported by: 0

README

Plugin Example

Build
go build -o plugin_example main.go

NOTE: protolint plugin is backed by hashicorp/go-plugin, not the plugin standard library.

Therefore, you can build the plugin just as a normal Go main package.

Run
protolint -plugin ./plugin_example /path/to/files

# Or you can pass some flags to your plugin:
protolint -plugin "./plugin_example -go_style=false" /path/to/files

NOTE: sh must be in your PATH.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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