Explorar o código

:gear: Make message annotations map[string]interface{}

mudler %!s(int64=3) %!d(string=hai) anos
pai
achega
83af4edc10
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/hub/message.go

+ 1 - 1
pkg/hub/message.go

@@ -20,7 +20,7 @@ type Message struct {
 	Message  string
 	SenderID string
 
-	Annotations map[string]string
+	Annotations map[string]interface{}
 }
 
 type MessageOption func(cfg *Message) error