lint fixes

This commit is contained in:
Aine
2023-10-03 00:03:29 +03:00
parent ef221038f7
commit 0d0dcf20b9
18 changed files with 196 additions and 152 deletions

View File

@@ -10,7 +10,7 @@ import (
"maunium.net/go/mautrix/id"
)
var styleRegex = regexp.MustCompile("<style((.|\n|\r)*?)<\\/style>")
var styleRegex = regexp.MustCompile("<style((.|\n|\r)*?)</style>")
// AddressValid checks if email address is valid
func AddressValid(email string) bool {