services/omnirpc/collection/collection.go
Function CreateCollection
has 54 lines of code (exceeds 50 allowed). Consider refactoring. Open
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)
}