diff options
| author | Castor Regex <[email protected]> | 2025-08-31 22:31:11 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-31 22:31:11 -0500 |
| commit | 710693b18a88643ac75bee89695f5f286923384e (patch) | |
| tree | 868d7ef79103ef7722757f71cd5bd4070dd8823a /dumpchat.go | |
| parent | 8c8fccc650bfe313e522aaf80dcccb3600566a22 (diff) | |
feat: add dumpchat function
Diffstat (limited to 'dumpchat.go')
| -rw-r--r-- | dumpchat.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dumpchat.go b/dumpchat.go new file mode 100644 index 0000000..e40a6f7 --- /dev/null +++ b/dumpchat.go @@ -0,0 +1,12 @@ +package main + +import ( + "go.wit.com/lib/protobuf/chatpb" + "go.wit.com/log" +) + +func dumpchat(chat *chatpb.Chat) { + for _, entry := range chat.GetEntries() { + log.Printf("Entry: %s\n", entry.GetUuid()) + } +} |
