From 8a24584262a90956e012cee7b03c8c2b9f4b794c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 20 Oct 2025 05:50:38 -0500 Subject: reworking this to make it more sane. hopefully. --- config.proto | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'config.proto') diff --git a/config.proto b/config.proto index 2716967..9803223 100644 --- a/config.proto +++ b/config.proto @@ -6,17 +6,14 @@ package config; import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp -message Config { // - string key = 1; // config key name `autogenpb:unique` `autogenpb:sort` - string value = 2; // config value name - google.protobuf.Timestamp ctime = 3; // create time of the patch - map vals = 4; // a simple map +message Config { // + string key = 1; // config key name `autogenpb:unique` `autogenpb:sort` + string value = 2; // config value name } -message Configs { // `autogenpb:marshal` `autogenpb:nomutex` - string uuid = 1; // `autogenpb:uuid:3135d0f9-82a9-40b6-8aa1-b683ebe7bedd` - string version = 2; // `autogenpb:version:v0.0.2 go.wit.com/lib/config` - repeated Config configs = 3; - string filename = 4; // can store where the filename is so that saves can be automated - map flags = 5; // a simple map +message Configs { // `autogenpb:marshal` `autogenpb:nomutex` + string uuid = 1; // `autogenpb:uuid:3135d0f9-82a9-40b6-8aa1-b683ebe7bedd` + string version = 2; // `autogenpb:version:v0.0.2 go.wit.com/lib/config` + repeated Config configs = 3; + string filename = 4; // can store where the filename is so that saves can be automated } -- cgit v1.2.3