chore: fix linter

This commit is contained in:
johnnyjoy
2025-02-01 12:53:48 +08:00
parent 0dcd0904e8
commit 45c16f9d52

View File

@ -62,7 +62,7 @@ func ExtractUserIDFromName(name string) (int32, error) {
}
// ExtractMemoUIDFromName returns the memo UID from a resource name.
// e.g., "memos/uuid" -> "uuid"
// e.g., "memos/uuid" -> "uuid".
func ExtractMemoUIDFromName(name string) (string, error) {
tokens, err := GetNameParentTokens(name, MemoNamePrefix)
if err != nil {