- package main
- import (
- "github.com/lyft/protoc-gen-star"
- "github.com/lyft/protoc-gen-star/lang/go"
- "github.com/envoyproxy/protoc-gen-validate/module"
- )
- func main() {
- pgs.
- Init(pgs.DebugEnv("DEBUG_PGV")).
- RegisterModule(module.Validator()).
- RegisterPostProcessor(pgsgo.GoFmt()).
- Render()
- }
|