16 lines
482 B
Protocol Buffer
16 lines
482 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
// store go dependancies
|
|
|
|
package gitpb;
|
|
|
|
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
|
|
|
message GoDep {
|
|
string hash = 1; // md5sum/hash value from the go.sum file
|
|
google.protobuf.Timestamp ctime = 2; // get the go date from 'go list' ?
|
|
string version = 3; // v1.2.2
|
|
string goPath = 4; // "go.wit.com/lib/foo"
|
|
string goVersion = 5; // version of golang the developer used to make this package version
|
|
}
|