nuts-foundation/nuts-node

View on GitHub
didman/didman.go

Summary

Maintainability
A
2 hrs
Test Coverage
A
95%

File didman.go has 503 lines of code (exceeds 500 allowed). Consider refactoring.
Open

/*
 * Nuts node
 * Copyright (C) 2021 Nuts community
 *
 * This program is free software: you can redistribute it and/or modify
Severity: Minor
Found in didman/didman.go - About 2 hrs to fix

    Method didman.addService has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func (d *didman) addService(ctx context.Context, id did.DID, serviceType string, serviceEndpoint interface{}, preprocessor func(*did.Document)) (*did.Service, error) {
    Severity: Minor
    Found in didman/didman.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status