fixed example

This commit is contained in:
Jeff Carr 2025-08-21 01:17:13 -05:00
parent 0d568e2674
commit 6d1c7a6ba5
1 changed files with 2 additions and 1 deletions

View File

@ -10,9 +10,10 @@ import (
func main() {
data, _ := os.ReadFile("log/sample.text")
log.Info("trying unmarshal len(data) =", len(data))
pb, err := chatpb.UnmarshalChats(data)
pb, err := chatpb.UnmarshalChatsTEXT(data)
if err != nil {
log.Info("Unmarshal error", err)
// log.Info(string(data))
return
}