| 1 |
Source: golang-github-envoyproxy-protoc-gen-validate |
| 2 |
Section: golang |
| 3 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 4 |
Uploaders: Andrew Lee (李健秋) <[email protected]>, |
| 5 |
Build-Depends: debhelper-compat (= 13), |
| 6 |
dh-sequence-golang, |
| 7 |
dpkg-build-api (= 1), |
| 8 |
golang-any, |
| 9 |
golang-github-iancoleman-strcase-dev, |
| 10 |
golang-google-protobuf-dev, |
| 11 |
golang-golang-x-net-dev, |
| 12 |
golang-golang-x-tools-dev, |
| 13 |
golang-github-lyft-protoc-gen-star-dev, |
| 14 |
golang-github-spf13-afero-dev, |
| 15 |
Testsuite: autopkgtest-pkg-go |
| 16 |
Standards-Version: 4.7.4 |
| 17 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-envoyproxy-protoc-gen-validate |
| 18 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-envoyproxy-protoc-gen-validate.git |
| 19 |
Homepage: https://github.com/envoyproxy/protoc-gen-validate |
| 20 |
XS-Go-Import-Path: github.com/envoyproxy/protoc-gen-validate |
| 21 |
|
| 22 |
Package: golang-github-envoyproxy-protoc-gen-validate-dev |
| 23 |
Section: devel |
| 24 |
Architecture: all |
| 25 |
Multi-Arch: foreign |
| 26 |
Depends: ${misc:Depends}, |
| 27 |
Description: protocol buffer semantic validation generator for Go |
| 28 |
While protocol buffers effectively guarantee the types of structured data, |
| 29 |
they cannot enforce semantic rules for values. This package provides a |
| 30 |
protoc plugin and Go library that adds support for validating constraints |
| 31 |
expressed as annotations within the protobuf schema. |
| 32 |
. |
| 33 |
By generating "Validate" methods for the message types, it allows |
| 34 |
applications to enforce complex rules—such as string patterns, numerical |
| 35 |
ranges, and required fields—at the edge of the service. This ensures that |
| 36 |
only valid data enters the system, reducing the need for manual validation |
| 37 |
logic and improving the reliability of distributed systems. |