1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-03-17 20:28:06 +02:00

add message comment

This commit is contained in:
Asim Aslam 2019-09-04 12:18:37 +01:00
parent 0075477df0
commit 7ab3934eb7

View File

@ -91,6 +91,7 @@ func (s *session) Channel() string {
return s.channel
}
// newMessage creates a new message based on the session
func (s *session) newMessage(typ string) *message {
return &message{
typ: typ,