Last analyzed 88f9575 a month ago
Default analysis branch is
Currently analyzing run
Unused method receiver RVV-B0013
Bug risk
5 months ago2 years old
Method receiver 't' is not referenced in method's body, consider removing or renaming it as _
40	GetToken() string
41}
42
43func (t TransformersRequest) Do(ctx context.Context, client IGQLClient) ([]transformers.Transformer, error) {44	req := graphql.NewRequest(listTransformersQuery)
45
46	// set header fields
Method receiver 'r' is not referenced in method's body, consider removing or renaming it as _
29	GQL() *graphql.Client
30}
31
32func (r RegisterDeviceRequest) Do(ctx context.Context, client IGQLClient) (*auth.Device, error) {33	req := graphql.NewRequest(registerDeviceMutation)
34	req.Header.Set("Cache-Control", "no-cache")
35
Method receiver 'a' is not referenced in method's body, consider removing or renaming it as _
42	GetToken() string
43}
44
45func (a AnalyzersRequest) Do(ctx context.Context, client IGQLClient) ([]analyzers.Analyzer, error) {46	req := graphql.NewRequest(listAnalyzersQuery)
47
48	// set header fields
Method receiver 'o' is not referenced in method's body, consider removing or renaming it as _
 38}
 39
 40// Run executes the command.
 41func (o *Options) Run() error { 42	// Fetch config
 43	cfg, err := config.GetConfig()
 44	if err != nil {
Method receiver 'opts' is not referenced in method's body, consider removing or renaming it as _
34	return cmd
35}
36
37func (opts *AuthStatusOptions) Run() error {38	// Fetch config
39	cfg, err := config.GetConfig()
40	if err != nil {