From 7a0925041e8f980b3f922d4f75cdec8460d8772d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 24 Oct 2024 17:52:46 -0500 Subject: of course I spelled this wrong Signed-off-by: Jeff Carr --- Makefile | 8 ++++---- experiements.proto | 19 ------------------- experiments.proto | 19 +++++++++++++++++++ 3 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 experiements.proto create mode 100644 experiments.proto diff --git a/Makefile b/Makefile index b7daa74..74da8df 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # go install -all: droplet.pb.go hypervisor.pb.go cluster.pb.go events.pb.go +all: droplet.pb.go hypervisor.pb.go cluster.pb.go events.pb.go experiments.pb.go make -C example vet: lint @@ -48,11 +48,11 @@ events.pb.go: events.proto --go_opt=Mevents.proto=go.wit.com/lib/protobuf/virtbuf \ events.proto -experiements.pb.go: experiements.proto +experiments.pb.go: experiments.proto cd ~/go/src && protoc --go_out=. \ --proto_path=go.wit.com/lib/protobuf/virtbuf \ - --go_opt=Mexperiements.proto=go.wit.com/lib/protobuf/virtbuf \ - experiements.proto + --go_opt=Mexperiments.proto=go.wit.com/lib/protobuf/virtbuf \ + experiments.proto cluster.pb.go: cluster.proto cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/virtbuf \ diff --git a/experiements.proto b/experiements.proto deleted file mode 100644 index 2db67b3..0000000 --- a/experiements.proto +++ /dev/null @@ -1,19 +0,0 @@ -syntax = "proto3"; -package virtbuf; - -import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp -import "google/protobuf/any.proto"; // Import the well-known type for Timestamp - -message WhatsThis { - // is it possible to have custom formatting in JSON and TEXT marshal/unmarshal ? - WhatInfo humantest = 1; - - google.protobuf.Timestamp end = 2; // end time - google.protobuf.Any orig_val = 3; // original value - google.protobuf.Any new_val = 4; // new value -} - -// this is for exerimenting -message WhatInfo { - int64 capacity = 1; // Stores the storage capacity in bytes. -} diff --git a/experiments.proto b/experiments.proto new file mode 100644 index 0000000..2db67b3 --- /dev/null +++ b/experiments.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; +package virtbuf; + +import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp +import "google/protobuf/any.proto"; // Import the well-known type for Timestamp + +message WhatsThis { + // is it possible to have custom formatting in JSON and TEXT marshal/unmarshal ? + WhatInfo humantest = 1; + + google.protobuf.Timestamp end = 2; // end time + google.protobuf.Any orig_val = 3; // original value + google.protobuf.Any new_val = 4; // new value +} + +// this is for exerimenting +message WhatInfo { + int64 capacity = 1; // Stores the storage capacity in bytes. +} -- cgit v1.2.3