mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: make golangci-lint
happy
This commit is contained in:
@ -47,7 +47,7 @@ func (s *Server) registerTagRoutes(g *echo.Group) {
|
||||
|
||||
tagMapSet := make(map[string]bool)
|
||||
|
||||
r, err := regexp.Compile("#(.+?) ")
|
||||
r := regexp.MustCompile("#(.+?) ")
|
||||
if err != nil {
|
||||
return echo.NewHTTPError(http.StatusInternalServerError, "Failed to compile regexp").SetInternal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user