Package: wnpp Severity: wishlist Owner: Andrew Lee (李健秋) <[email protected]>
* Package name : golang-github-envoyproxy-protoc-gen-validate Version : 1.0.2-1 Upstream Author : Buf * URL : https://github.com/envoyproxy/protoc-gen-validate * License : Apache-2.0 Programming Lang: Go Description : protocol buffer semantic validation generator for Go While protocol buffers effectively guarantee the types of structured data, they cannot enforce semantic rules for values. This package provides a protoc plugin and Go library that adds support for validating constraints expressed as annotations within the protobuf schema. . By generating "Validate" methods for the message types, it allows applications to enforce complex rules—such as string patterns, numerical ranges, and required fields—at the edge of the service. This ensures that only valid data enters the system, reducing the need for manual validation logic and improving the reliability of distributed systems.

