mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +00:00
Lint: Fix wrong receiver name
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
0d5996b1b7
commit
7b921e1b3e
1 changed files with 2 additions and 2 deletions
|
@ -16,11 +16,11 @@ var (
|
|||
|
||||
type FieldCollection map[string]interface{}
|
||||
|
||||
func (m FieldCollection) Expect(keys ...string) error {
|
||||
func (f FieldCollection) Expect(keys ...string) error {
|
||||
var missing []string
|
||||
|
||||
for _, k := range keys {
|
||||
if _, ok := m[k]; !ok {
|
||||
if _, ok := f[k]; !ok {
|
||||
missing = append(missing, k)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue