didman/didman.go
File didman.go
has 503 lines of code (exceeds 500 allowed). Consider refactoring. Open
Open
/*
* Nuts node
* Copyright (C) 2021 Nuts community
*
* This program is free software: you can redistribute it and/or modify
Method didman.addService
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (d *didman) addService(ctx context.Context, id did.DID, serviceType string, serviceEndpoint interface{}, preprocessor func(*did.Document)) (*did.Service, error) {