Skip to content

Commit

Permalink
fixed doc string
Browse files Browse the repository at this point in the history
Signed-off-by: myan <myan@redhat.com>
  • Loading branch information
yanmxa committed Jul 21, 2023
1 parent 8be9516 commit 0d8a87e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/mqtt_paho/v2/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type ProtocolContext struct {
PublishProperties *paho.PublishProperties
}

// for more commonly used parameters, provide a constructor
// provide a constructor to initialize frequently used parameters
func NewProtocolContext(topic string, qos byte, retained bool) ProtocolContext {
return ProtocolContext{
Topic: topic,
Expand Down

0 comments on commit 0d8a87e

Please sign in to comment.