diff options
| author | Jeff Carr <[email protected]> | 2024-11-29 18:15:25 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-29 18:15:25 -0600 |
| commit | 4a79cccffd6cd20e42271eada567c4b8c0edc2f4 (patch) | |
| tree | 4f1bf43db50e09956abe22d9fb3cb9d9b8ca4717 /goDep.proto | |
| parent | 7615317ca72347429f665dc7db9a0fe49d86cc55 (diff) | |
attempt to use go.wit.com/apps/autogenpb for sort
Diffstat (limited to 'goDep.proto')
| -rw-r--r-- | goDep.proto | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/goDep.proto b/goDep.proto new file mode 100644 index 0000000..5128c1c --- /dev/null +++ b/goDep.proto @@ -0,0 +1,21 @@ +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 +} + +message GoDeps { + 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; +} |
