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:100:26:warning: func (*CacheServer).mustInt is unused (U1000) (megacheck) pkg/api/folder_test.go:136:6:warning: func callGetFolderByUID is unused (U1000) (megacheck) pkg/api/folder_test.go:141:6:warning: func callDeleteFolder is unused (U1000) (megacheck) pkg/api/live/hub.go:40:15:warning: func (*hub).removeConnection is unused (U1000) (megacheck) pkg/components/imguploader/azureblobuploader.go:130:5:warning: var client is unused (U1000) (megacheck) pkg/middleware/middleware_test.go:438:28:warning: func (*scenarioContext).withInvalidApiKey is unused (U1000) (megacheck) pkg/services/alerting/ticker.go:40:18:warning: func (*Ticker).updateOffset is unused (U1000) (megacheck) pkg/services/notifications/notifications_test.go:12:6:warning: type testTriggeredAlert is unused (U1000) (megacheck) pkg/services/sqlstore/dashboard_service_integration_test.go:935:6:warning: type scenarioContext is unused (U1000) (megacheck) pkg/services/sqlstore/dashboard_service_integration_test.go:939:6:warning: type scenarioFunc is unused (U1000) (megacheck) pkg/services/sqlstore/dashboard_service_integration_test.go:941:6:warning: func dashboardGuardianScenario is unused (U1000) (megacheck) pkg/services/sqlstore/transactions_test.go:13:6:warning: type testQuery is unused (U1000) (megacheck)
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
avatar | Loading commit data... | |
dtos | Loading commit data... | |
live | Loading commit data... | |
pluginproxy | Loading commit data... | |
routing | Loading commit data... | |
static | Loading commit data... | |
admin.go | Loading commit data... | |
admin_users.go | Loading commit data... | |
alerting.go | Loading commit data... | |
alerting_test.go | Loading commit data... | |
annotations.go | Loading commit data... | |
annotations_test.go | Loading commit data... | |
api.go | Loading commit data... | |
apikey.go | Loading commit data... | |
app_routes.go | Loading commit data... | |
common.go | Loading commit data... | |
common_test.go | Loading commit data... | |
dashboard.go | Loading commit data... | |
dashboard_permission.go | Loading commit data... | |
dashboard_permission_test.go | Loading commit data... | |
dashboard_snapshot.go | Loading commit data... | |
dashboard_snapshot_test.go | Loading commit data... | |
dashboard_test.go | Loading commit data... | |
dataproxy.go | Loading commit data... | |
datasources.go | Loading commit data... | |
datasources_test.go | Loading commit data... | |
folder.go | Loading commit data... | |
folder_permission.go | Loading commit data... | |
folder_permission_test.go | Loading commit data... | |
folder_test.go | Loading commit data... | |
frontendsettings.go | Loading commit data... | |
grafana_com_proxy.go | Loading commit data... | |
http_server.go | Loading commit data... | |
index.go | Loading commit data... | |
login.go | Loading commit data... | |
login_oauth.go | Loading commit data... | |
metrics.go | Loading commit data... | |
org.go | Loading commit data... | |
org_invite.go | Loading commit data... | |
org_users.go | Loading commit data... | |
password.go | Loading commit data... | |
playlist.go | Loading commit data... | |
playlist_play.go | Loading commit data... | |
plugins.go | Loading commit data... | |
preferences.go | Loading commit data... | |
quota.go | Loading commit data... | |
render.go | Loading commit data... | |
search.go | Loading commit data... | |
signup.go | Loading commit data... | |
stars.go | Loading commit data... | |
team.go | Loading commit data... | |
team_members.go | Loading commit data... | |
team_test.go | Loading commit data... | |
user.go | Loading commit data... | |
user_test.go | Loading commit data... |