This commit is contained in:
Jeff Carr 2025-02-23 04:57:07 -06:00
parent 13159b5b64
commit 0f546d57fc
1 changed files with 17 additions and 0 deletions

View File

@ -11,11 +11,28 @@
package virtpb package virtpb
import ( import (
"github.com/google/uuid"
"go.wit.com/lib/protobuf/guipb" "go.wit.com/lib/protobuf/guipb"
"go.wit.com/log" "go.wit.com/log"
"google.golang.org/protobuf/types/known/timestamppb" "google.golang.org/protobuf/types/known/timestamppb"
) )
func (mt *DropletsTable) NewUuid() {
mt.pb.Uuid = uuid.New().String()
}
func (mt *HypervisorsTable) NewUuid() {
mt.pb.Uuid = uuid.New().String()
}
func (mt *EventsTable) NewUuid() {
mt.pb.Uuid = uuid.New().String()
}
func (mt *HypervisorsTable) Update() {
log.Info("now what hyper?")
}
func (mt *DropletsTable) Update() { func (mt *DropletsTable) Update() {
log.Info("now what?") log.Info("now what?")
for _, name := range mt.pb.Order { for _, name := range mt.pb.Order {