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
v0.4.1
Published
Aug 10, 2020
Platform
linux/amd64
Imports
12 packages
Last checked
11 seconds ago

Tools for package owners.