Documentation ¶
Overview ¶
Package proto contains proto related mage targets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Owner is the schema owner. Owner = "taxibeat" // Registry is the schema registry. Registry = "proto-schemas" // SchemasLocation is the path to the schemas. SchemasLocation = "proto/schemas" // GeneratedLocation is the target location fot the generated files. GeneratedLocation = "proto/generated" // Service is the service name. Should be set externally. Service = "" )
Functions ¶
This section is empty.
Types ¶
type Proto ¶
Proto groups together proto related tasks.
func (Proto) SchemaGenerate ¶
SchemaGenerate generates a single proto schema.
func (Proto) SchemaGenerateAll ¶
SchemaGenerateAll generates all the schemas found.
func (Proto) SchemaValidateAll ¶ added in v0.12.3
SchemaValidateAll lints the schemas in the repository against the GitHub schemas.
Click to show internal directories.
Click to hide internal directories.