summaryrefslogtreecommitdiff
path: root/goDep.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 10:46:32 -0600
committerJeff Carr <[email protected]>2024-12-01 10:46:32 -0600
commit8e9ec30b29ae53e28592e8ac7f48b2f46b8f935b (patch)
tree587c3e588629d3e76a7af9555b460a2d224e61d6 /goDep.proto
parent455ea31d70b3dfa95ca4f269e42cf6a8dcf5f0d9 (diff)
save GoDeps at the time of publication to pkg.go.dev
Diffstat (limited to 'goDep.proto')
-rw-r--r--goDep.proto4
1 files changed, 2 insertions, 2 deletions
diff --git a/goDep.proto b/goDep.proto
index 1a15e90..41af614 100644
--- a/goDep.proto
+++ b/goDep.proto
@@ -6,7 +6,7 @@ package gitpb;
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
-message GoDep {
+message GoDep { // `autogenpb:marshal`
string hash = 1; // `autogenpb:unique` // 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
@@ -14,7 +14,7 @@ message GoDep {
string goVersion = 5; // version of golang the developer used to make this package version
}
-message GoDeps {
+message GoDeps { // `autogenpb:marshal`
string uuid = 1; // I guess why not just have this on each file
string version = 2; // maybe can be used for protobuf schema change violations
repeated GoDep goDeps = 3;