mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-23 10:13:42 +02:00
typo fixes and added comments
This commit is contained in:
parent
48ca5e4f92
commit
c769b6a700
7 changed files with 11 additions and 9 deletions
|
|
@ -7,6 +7,7 @@ import (
|
|||
"github.com/spf13/pflag"
|
||||
)
|
||||
|
||||
// Get a flag set with all flags mapping to a config value.
|
||||
func GetFlags() *pflag.FlagSet {
|
||||
flags := pflag.FlagSet{}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ type MessageQueue struct {
|
|||
// Writer to write messages to
|
||||
writer driver.Writer
|
||||
|
||||
// encoder to encode messages with
|
||||
// Encoder to encode messages with
|
||||
encode message.Encoder
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue