switch virtbuf to virtpb

This commit is contained in:
Jeff Carr 2025-02-22 17:45:59 -06:00
parent 2381c65887
commit d40dc91130
14 changed files with 13 additions and 14 deletions

View File

@ -1,4 +1,3 @@
droplet.proto droplet.proto
event.proto event.proto
experiments.proto
hypervisor.proto hypervisor.proto

2
add.go
View File

@ -1,4 +1,4 @@
package virtbuf package virtpb
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package virtbuf package virtpb
// thank chatgpt for this because why. why write this if you can have it // thank chatgpt for this because why. why write this if you can have it
// kick this out in 30 seconds // kick this out in 30 seconds

View File

@ -1,4 +1,4 @@
package virtbuf package virtpb
import ( import (
// "reflect" // "reflect"

View File

@ -1,4 +1,4 @@
package virtbuf package virtpb
import ( import (
sync "sync" sync "sync"

View File

@ -1,4 +1,4 @@
package virtbuf package virtpb
// functions to import and export the protobuf // functions to import and export the protobuf
// data to and from config files // data to and from config files

View File

@ -1,4 +1,4 @@
package virtbuf package virtpb
// thank chatgpt for this because why. why write this if you can have it // thank chatgpt for this because why. why write this if you can have it
// kick this out in 30 seconds // kick this out in 30 seconds

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package virtbuf; package virtpb;
import "google/protobuf/duration.proto"; // Import the well-known type for Timestamp import "google/protobuf/duration.proto"; // Import the well-known type for Timestamp
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package virtbuf; package virtpb;
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
import "google/protobuf/any.proto"; // Import the well-known type for Timestamp import "google/protobuf/any.proto"; // Import the well-known type for Timestamp

View File

@ -1,4 +1,4 @@
package virtbuf package virtpb
// functions to import and export the protobuf // functions to import and export the protobuf
// data to and from config files // data to and from config files

View File

@ -1,4 +1,4 @@
package virtbuf package virtpb
// mostly just functions related to making STDOUT // mostly just functions related to making STDOUT
// more readable by us humans // more readable by us humans

View File

@ -1,5 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package virtbuf; package virtpb;
// global settings for autogenpb `autogenpb:mutex` // global settings for autogenpb `autogenpb:mutex`

View File

@ -1,4 +1,4 @@
package virtbuf package virtpb
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package virtbuf package virtpb
/* /*
// MarshalJSON custom marshals the WhatInfo struct to JSON // MarshalJSON custom marshals the WhatInfo struct to JSON