package cc

import "github.com/envoyproxy/protoc-gen-validate/templates/cc"

Index

Functions

func CcFilePath

func CcFilePath(f pgs.File, ctx pgsgo.Context, tpl *template.Template) *pgs.FilePath

func RegisterHeader

func RegisterHeader(tpl *template.Template, params pgs.Parameters)

func RegisterModule

func RegisterModule(tpl *template.Template, params pgs.Parameters)

Types

type CCFuncs

type CCFuncs struct{ pgsgo.Context }

TODO(rodaine): break pgsgo dependency here (with equivalent pgscc subpackage)

func (CCFuncs) Type

func (fns CCFuncs) Type(f pgs.Field) pgsgo.TypeName

Source Files

any.go bytes.go const.go duration.go enum.go file.go in.go known.go ltgt.go map.go message.go msg.go none.go num.go register.go repeated.go string.go timestamp.go wrapper.go

Version
v1.2.1 (latest)
Published
Jan 22, 2025
Platform
linux/amd64
Imports
11 packages
Last checked
4 hours ago

Tools for package owners.