Removed route linters
This commit is contained in:
parent
0dbbd9e621
commit
00f6d0f1b5
2
go.mod
2
go.mod
@ -6,7 +6,7 @@ require (
|
||||
cloud.google.com/go v0.97.0 // indirect
|
||||
github.com/PuerkitoBio/goquery v1.8.0 // indirect
|
||||
github.com/StackExchange/wmi v1.2.1 // indirect
|
||||
github.com/aerogo/aero v1.3.55
|
||||
github.com/aerogo/aero v1.3.56
|
||||
github.com/aerogo/api v0.2.3
|
||||
github.com/aerogo/crawler v0.2.5
|
||||
github.com/aerogo/flow v0.1.5
|
||||
|
8
go.sum
8
go.sum
@ -54,8 +54,8 @@ github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDO
|
||||
github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8=
|
||||
github.com/aerogo/aero v1.3.29/go.mod h1:nHuG9q4VrzH7ZtiE1TEIt9Lazp/w3WpC3nqAKREkg0Q=
|
||||
github.com/aerogo/aero v1.3.30/go.mod h1:iAzV2JRnKAFOo/c+4KIgf35JGS82qMU4tI06ocHeRrk=
|
||||
github.com/aerogo/aero v1.3.55 h1:TtIGyoXzEy4uKTxtmYp8V+aPcNOV/5vVGQ1Av9xJY64=
|
||||
github.com/aerogo/aero v1.3.55/go.mod h1:DeQ45Cjp32cld+24v+KCiqJkQa0rZ03n/0MYc829oIY=
|
||||
github.com/aerogo/aero v1.3.56 h1:6MQFYX5zAbRGy7YdQPJbar4neU7Tk5KSrnmY/rlgCDM=
|
||||
github.com/aerogo/aero v1.3.56/go.mod h1:ehwj+mb117xQRTvp11jlnrRNPgbcYL6s6aBk9wbIZ0o=
|
||||
github.com/aerogo/api v0.2.3 h1:REQR3a6WXzaHpNSF9NCjj4HjvSQdcHrMWGnp/xIpCh4=
|
||||
github.com/aerogo/api v0.2.3/go.mod h1:cClK+FXNc0IRGdDxAH5XmtibBxwUXCM2lLKMF7jKB+8=
|
||||
github.com/aerogo/cluster v0.1.8 h1:N/jU2t7kQfKjXzQIArBQvtNkJCiaP9+jgdEid3P2Omc=
|
||||
@ -74,12 +74,9 @@ github.com/aerogo/http v1.0.9/go.mod h1:qVlq+QszT9mFVL92hmMs71fqzA1DILTjNSucEWUd
|
||||
github.com/aerogo/http v1.0.10/go.mod h1:rG/KkSLgpcjuB9I8k+OWbQI9YbahHIridyva0AQdH70=
|
||||
github.com/aerogo/http v1.0.12/go.mod h1:nUN1X1Kyh7tj5hi0ufaqLhENHA0iF3nCoGZDSGabEog=
|
||||
github.com/aerogo/http v1.1.0/go.mod h1:5VMFMcmM5djh6c7L/v++HUjFvVz+7ER2t2NfXRrzohk=
|
||||
github.com/aerogo/http v1.1.2/go.mod h1:h+m3WxevpaifyVpRAMV58qt8ScXSZhU1a5DdvBkRwwE=
|
||||
github.com/aerogo/http v1.1.3 h1:cvwOYL+zNEfNHvJcX6A6OgUwQ4KROlu8ypuQEQc1HtU=
|
||||
github.com/aerogo/http v1.1.3/go.mod h1:h+m3WxevpaifyVpRAMV58qt8ScXSZhU1a5DdvBkRwwE=
|
||||
github.com/aerogo/linter-performance v1.0.6/go.mod h1:E5myVvu3+U1NmdW3c+A6xs9Me/U/Ey4Khz35uJdB5Yc=
|
||||
github.com/aerogo/linter-performance v1.0.7 h1:8a+GBJl8JP7NobmEN8wtuhxHOUr77Yazzq8sxdFJzuQ=
|
||||
github.com/aerogo/linter-performance v1.0.7/go.mod h1:F5uPm704+MFf3BL8d1tYs50giZRtxM49nefGW+QjLW4=
|
||||
github.com/aerogo/log v0.2.6 h1:QqIDsncjgfLC5mbMuLBWPN9mA+Eq2oYO/7xYa1N464w=
|
||||
github.com/aerogo/log v0.2.6/go.mod h1:IxEs1Csy6P8CByjSfKiZ15VwPHUssj8cbNcmc4l1LVI=
|
||||
github.com/aerogo/manifest v0.1.5 h1:tx3ZqBCbUgydiKDVzFS+ZXsEpD1JaZXE8lHzrhaHU68=
|
||||
@ -593,7 +590,6 @@ golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||
golang.org/x/sys v0.0.0-20191025090151-53bf42e6b339/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191127021746-63cb32ae39b2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
|
@ -16,7 +16,6 @@ import (
|
||||
"github.com/animenotifier/notify.moe/server/https"
|
||||
"github.com/animenotifier/notify.moe/server/middleware"
|
||||
"github.com/animenotifier/notify.moe/utils/htmlemail"
|
||||
"github.com/animenotifier/notify.moe/utils/routetests"
|
||||
)
|
||||
|
||||
// New creates a new web server.
|
||||
@ -103,11 +102,6 @@ func New() *aero.Application {
|
||||
return !strings.Contains(ctx.Request().Header("Referer"), "/service-worker")
|
||||
})
|
||||
|
||||
// Specify test routes
|
||||
for route, examples := range routetests.All() {
|
||||
app.Test(route, examples...)
|
||||
}
|
||||
|
||||
return app
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user