nuts-foundation/nuts-node

View on GitHub
vdr/didweb/manager.go

Summary

Maintainability
A
1 hr
Test Coverage
B
81%

Method Manager.Create has 53 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (m Manager) Create(ctx context.Context, opts management.CreationOptions) (*did.Document, crypto.Key, error) {
    var newDID *did.DID
    var err error
    for _, opt := range opts.All() {
        switch opt.(type) {
Severity: Minor
Found in vdr/didweb/manager.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status