Versions in this module Expand all Collapse all v0 v0.4.1 Sep 14, 2018 v0.4.0 Sep 6, 2018 Changes in this version + func AddImportMapping(p pgs.Parameters, proto, pkg string) + func AddPlugin(p pgs.Parameters, name ...string) + func EnableAllPlugins(p pgs.Parameters) + func GoFmt() pgs.PostProcessor + func HasPlugin(p pgs.Parameters, name string) bool + func ImportPath(p pgs.Parameters) string + func ImportPrefix(p pgs.Parameters) string + func MappedImport(p pgs.Parameters, proto string) (string, bool) + func PGGUpperCamelCase(n pgs.Name) pgs.Name + func Plugins(p pgs.Parameters) (plugins []string, all bool) + func SetImportPath(p pgs.Parameters, path string) + func SetImportPrefix(p pgs.Parameters, prefix string) + func SetPaths(p pgs.Parameters, pt PathType) + type Context interface + ClientName func(service pgs.Service) pgs.Name + ImportPath func(entity pgs.Entity) pgs.FilePath + Name func(node pgs.Node) pgs.Name + OneofOption func(field pgs.Field) pgs.Name + OutputPath func(entity pgs.Entity) pgs.FilePath + PackageName func(node pgs.Node) pgs.Name + Params func() pgs.Parameters + ServerName func(service pgs.Service) pgs.Name + ServerStream func(method pgs.Method) pgs.Name + Type func(field pgs.Field) TypeName + func InitContext(params pgs.Parameters) Context + type PathType string + const ImportPathRelative + const SourceRelative + func Paths(p pgs.Parameters) PathType + type TypeName string + func (n TypeName) Element() TypeName + func (n TypeName) Key() TypeName + func (n TypeName) Pointer() TypeName + func (n TypeName) String() string + func (n TypeName) Value() TypeName