Skip to content

Commit

Permalink
chore: fix wrong function name in go docs
Browse files Browse the repository at this point in the history
Signed-off-by: luchenhan <[email protected]>
  • Loading branch information
luchenhan committed Jan 4, 2025
1 parent ed6203b commit bcd7c6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/ssi/types/diddoc_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion x/ssi/types/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, "#")
Expand Down

0 comments on commit bcd7c6e

Please sign in to comment.