API: Fix nit with variable declarations
I like to use the var keyword when declaring many variables at once, but I can drop the types here for sure.
This commit is contained in:
parent
a1ed38fc17
commit
b9e95b1a21
|
@ -79,9 +79,9 @@ func ScanMentions(ctx context.Context, tracker *model.Tracker,
|
|||
panic("Invalid regex match")
|
||||
}
|
||||
var (
|
||||
root string = match[2]
|
||||
username string = match[4]
|
||||
trackerName string = match[5]
|
||||
root = match[2]
|
||||
username = match[4]
|
||||
trackerName = match[5]
|
||||
)
|
||||
if root != origin {
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue