synapsecns/sanguine

View on GitHub
services/omnirpc/collection/collection.go

Summary

Maintainability
A
1 hr
Test Coverage

Function CreateCollection has 54 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func CreateCollection() ([]byte, error) {
    collection, err := postman.ParseCollection(bytes.NewReader(ethCollection))
    if err != nil {
        return nil, fmt.Errorf("could not parse collection: %w", err)
    }
Severity: Minor
Found in services/omnirpc/collection/collection.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status