api/rest/client/methods.go
File methods.go
has 535 lines of code (exceeds 500 allowed). Consider refactoring. Open
Open
package client
import (
"bytes"
"context"
defaultClient
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
func (c *defaultClient) ID(ctx context.Context) (api.ID, error) {
ctx, span := trace.StartSpan(ctx, "client/ID")
defer span.End()
var id api.ID