GoAdminGroup / go-admin

Unused method receiver RVV-B0013
Bug risk
Major
5 occurrences in this check
Method receiver 'admin' is not referenced in method's body, consider removing or renaming it as _
 68	return config.GetFullIndexURL()
 69}
 70
 71func (admin *Admin) GetInfo() plugins.Info { 72	return plugins.Info{
 73		Title:       "Basic Admin",
 74		Website:     "https://www.go-admin.cn",
Method receiver 'admin' is not referenced in method's body, consider removing or renaming it as _
 80	}
 81}
 82
 83func (admin *Admin) IsInstalled() bool { 84	return true
 85}
 86
Method receiver 'admin' is not referenced in method's body, consider removing or renaming it as _
 64	action.InitOperationHandlerSetter(admin.GetAddOperationFn())
 65}
 66
 67func (admin *Admin) GetIndexURL() string { 68	return config.GetFullIndexURL()
 69}
 70
Method receiver 's' is not referenced in method's body, consider removing or renaming it as _
32	}
33}
34
35func (s *Service) UpdateButtons() {36
37}
38
Method receiver 's' is not referenced in method's body, consider removing or renaming it as _
 84	conn   db.Connection
 85}
 86
 87func (s *TokenService) Name() string { 88	return TokenServiceKey
 89}
 90