protobuf

package module
v0.0.0-...-0c59bc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2019 License: MPL-2.0 Imports: 0 Imported by: 0

README

protobuf

Protobuf and gRPC helpers for working with Golang (for example an sql scan-able Timestamp well-known-type)

How to use
syntax = "proto3";

package mypkg;

option go_package = "github.com/myname/mypkg";

import "veqryn/protobuf/timestamp.proto";

message MyMessage {
	veqryn.protobuf.Timestamp my_time = 1;
}

Then to compile, make sure to include the path to this repo like so:

protoc -I=/usr/local/include -I=${GOPATH}/src/github.com --go_out=plugins=grpc:${GOPATH}/src ${GOPATH}/src/github.com/myname/mypkg/mymessage.proto

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
test
Package test is a reverse proxy.
Package test is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL