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:
Drew DeVault 2022-01-24 13:36:59 +01:00
parent a1ed38fc17
commit b9e95b1a21
1 changed files with 3 additions and 3 deletions

View File

@ -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