bufplugin

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0

README

bufplugin-go

Build Report Card GoDoc Slack

This is the Golang SDK for bufplugin.

import "buf.build/go/bufplugin/check"

This is very early, but see the example for how this works in practice.

Status: Alpha

Bufplugin is as early as it gets - buf doesn't actually support plugins yet! We're publishing this publicly to get early feedback as we approach stability.

Offered under the Apache 2 license.

Directories

Path Synopsis
Package check implements the SDK for custom lint and breaking change plugins.
Package check implements the SDK for custom lint and breaking change plugins.
checktest
Package checktest provides testing helpers when writing lint and breaking change plugins.
Package checktest provides testing helpers when writing lint and breaking change plugins.
checkutil
Package checkutil implements helpers for the check package.
Package checkutil implements helpers for the check package.
internal/example/cmd/buf-plugin-field-lower-snake-case
Package main implements a simple plugin that checks that all field names are lower_snake_case.
Package main implements a simple plugin that checks that all field names are lower_snake_case.
internal/example/cmd/buf-plugin-field-option-safe-for-ml
Package main implements a plugin that implements two Rules:
Package main implements a plugin that implements two Rules:
internal/example/cmd/buf-plugin-syntax-specified
Package main implements a simple plugin that checks that syntax is specified in every file.
Package main implements a simple plugin that checks that syntax is specified in every file.
internal/example/cmd/buf-plugin-timestamp-suffix
Package main implements a simple plugin that checks that all google.protobuf.Timestamp fields end in a specific suffix.
Package main implements a simple plugin that checks that all google.protobuf.Timestamp fields end in a specific suffix.
internal

Jump to

Keyboard shortcuts

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