mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 21:19:28 -06:00
dde650905d
I removed some code, and commented out other one. See, $ gometalinter --vendor --disable-all --disable=gotype --enable=megacheck --deadline 6m ./... | grep unused pkg/api/avatar/avatar.go💯26⚠️ func (*CacheServer).mustInt is unused (U1000) (megacheck) pkg/api/folder_test.go:136:6⚠️ func callGetFolderByUID is unused (U1000) (megacheck) pkg/api/folder_test.go:141:6⚠️ func callDeleteFolder is unused (U1000) (megacheck) pkg/api/live/hub.go:40:15⚠️ func (*hub).removeConnection is unused (U1000) (megacheck) pkg/components/imguploader/azureblobuploader.go:130:5⚠️ var client is unused (U1000) (megacheck) pkg/middleware/middleware_test.go:438:28⚠️ func (*scenarioContext).withInvalidApiKey is unused (U1000) (megacheck) pkg/services/alerting/ticker.go:40:18⚠️ func (*Ticker).updateOffset is unused (U1000) (megacheck) pkg/services/notifications/notifications_test.go:12:6⚠️ type testTriggeredAlert is unused (U1000) (megacheck) pkg/services/sqlstore/dashboard_service_integration_test.go:935:6⚠️ type scenarioContext is unused (U1000) (megacheck) pkg/services/sqlstore/dashboard_service_integration_test.go:939:6⚠️ type scenarioFunc is unused (U1000) (megacheck) pkg/services/sqlstore/dashboard_service_integration_test.go:941:6⚠️ func dashboardGuardianScenario is unused (U1000) (megacheck) pkg/services/sqlstore/transactions_test.go:13:6⚠️ type testQuery is unused (U1000) (megacheck) |
||
---|---|---|
.. | ||
avatar | ||
dtos | ||
live | ||
pluginproxy | ||
routing | ||
static | ||
admin_users.go | ||
admin.go | ||
alerting_test.go | ||
alerting.go | ||
annotations_test.go | ||
annotations.go | ||
api.go | ||
apikey.go | ||
app_routes.go | ||
common_test.go | ||
common.go | ||
dashboard_permission_test.go | ||
dashboard_permission.go | ||
dashboard_snapshot_test.go | ||
dashboard_snapshot.go | ||
dashboard_test.go | ||
dashboard.go | ||
dataproxy.go | ||
datasources_test.go | ||
datasources.go | ||
folder_permission_test.go | ||
folder_permission.go | ||
folder_test.go | ||
folder.go | ||
frontendsettings.go | ||
grafana_com_proxy.go | ||
http_server.go | ||
index.go | ||
login_oauth.go | ||
login.go | ||
metrics.go | ||
org_invite.go | ||
org_users.go | ||
org.go | ||
password.go | ||
playlist_play.go | ||
playlist.go | ||
plugins.go | ||
preferences.go | ||
quota.go | ||
render.go | ||
search.go | ||
signup.go | ||
stars.go | ||
team_members.go | ||
team_test.go | ||
team.go | ||
user_test.go | ||
user.go |