Skip to content

Commit b8e0b94

Browse files
interface{} to any conversion
1 parent 0ce7721 commit b8e0b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/session/model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ type SessionStreamData struct {
8080
/* websocket stream message */
8181
type StreamMessage struct {
8282
Type string `json:"type"`
83-
Data interface{} `json:"data"`
83+
Data any `json:"data"`
8484
Timestamp time.Time `json:"timestamp"`
8585
}
8686

0 commit comments

Comments
 (0)