Commit 45c16f9d authored by johnnyjoy's avatar johnnyjoy

chore: fix linter

parent 0dcd0904
...@@ -62,7 +62,7 @@ func ExtractUserIDFromName(name string) (int32, error) { ...@@ -62,7 +62,7 @@ func ExtractUserIDFromName(name string) (int32, error) {
} }
// ExtractMemoUIDFromName returns the memo UID from a resource name. // 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) { func ExtractMemoUIDFromName(name string) (string, error) {
tokens, err := GetNameParentTokens(name, MemoNamePrefix) tokens, err := GetNameParentTokens(name, MemoNamePrefix)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment