diff --git a/x/ssi/types/diddoc_validation.go b/x/ssi/types/diddoc_validation.go index f88b12a..99c8daa 100644 --- a/x/ssi/types/diddoc_validation.go +++ b/x/ssi/types/diddoc_validation.go @@ -5,7 +5,7 @@ import ( "regexp" ) -// isValidDidDoc checks if the DID Id is valid +// isValidDidDocId checks if the DID Id is valid func isValidDidDocId(id string) error { inputDocumentIdentifier, err := getDocumentIdentifier(id) if err != nil { diff --git a/x/ssi/types/utils.go b/x/ssi/types/utils.go index 15e3391..9af4817 100644 --- a/x/ssi/types/utils.go +++ b/x/ssi/types/utils.go @@ -14,7 +14,7 @@ func GetElementsFromDidUrl(didUrl string) (string, string) { return didId, fragment } -// splitDidUrl returns the elements of a DID URL. It returns the element in order: +// SplitDidUrl returns the elements of a DID URL. It returns the element in order: // didId, fragment func SplitDidUrl(didUrl string) (string, string) { didUrlElements := strings.Split(didUrl, "#")