Skip to content

barebitcoin/buf-validate-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buf-validate-plugin

Buf plugin for protoc-gen-validate.

It is currently based off of a fork that adds support for properly handling NaN in float comparisons. Once that is merged, this plugin will be based off of the original repo.

Usage

# buf.gen.yaml

version: v1

plugins:
  - remote: buf.build/ngu-tek/plugins/validate:v0.6.4-386e294f7d80-1
    out: gen
    # https://github.com/envoyproxy/protoc-gen-validate#parameters
    opt:
      - lang=go
      - paths=source_relative

Releases

No releases published

Packages

No packages published