fix: Correct Lint Issue

This commit is contained in:
Parham Alvani
2021-06-06 13:54:13 +04:30
parent 50053484a3
commit d338ac3516
2 changed files with 12 additions and 4 deletions

View File

@@ -8,11 +8,16 @@ import (
)
const (
TopicFlag = "topic"
QoSFlag = "qos"
// TopicFlag used with cobra to read the topic flag from user.
TopicFlag = "topic"
// QoSFlag used with cobra to read the qos flag from user.
QoSFlag = "qos"
// RetainedFlag used with cobra to read the retained flag from user.
RetainedFlag = "retained"
PayloadFlag = "payload"
// PayloadFlag used with cobra to read the payload flag from user.
PayloadFlag = "payload"
// Timeout for disconnecting from brokers.
Timeout = 10
)

View File

@@ -12,9 +12,12 @@ import (
)
const (
// TopicFlag used with cobra to read the topic flag from user.
TopicFlag = "topic"
QoSFlag = "qos"
// QoSFlag used with cobra to read the qos flag from user.
QoSFlag = "qos"
// Timeout for disconnecting from brokers.
Timeout = 10
)