build-trust / did

A golang package to work with Decentralized Identifiers (DIDs)
https://w3c-ccg.github.io/did-spec
Apache License 2.0
91 stars 21 forks source link

feat: add validity check to isReference and String #9

Closed strollinghome closed 4 years ago

strollinghome commented 5 years ago

https://github.com/ockam-network/did/issues/2

strollinghome commented 5 years ago

@mrinalwadhwa not sure if splitting the function is the best way to get around the cyclomatic complexity linter error. I saw you added // nolint: gocyclo to the parsePath() function but I'm not sure if we'd want to do that here. Lmk what you think.

mrinalwadhwa commented 4 years ago

superseded by did 1.0 #8