feat(tools): Add 'gotest' program to demonstrate pkgs.buildGo
This is a tiny program that does nothing but exists to demonstrate pkgs.buildGo by building a program that depends on a local library as well as a protobuf definition.
This commit is contained in:
parent
9ea0363e6f
commit
1619f58d78
4 changed files with 63 additions and 0 deletions
9
tools/gotest/test.proto
Normal file
9
tools/gotest/test.proto
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
syntax = "proto3";
|
||||
package someproto;
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
message Person {
|
||||
string name = 1;
|
||||
google.protobuf.Timestamp last_updated = 2;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue