mirror of
https://github.com/usememos/memos.git
synced 2025-10-09 22:06:53 +08:00
chore: fix linter
This commit is contained in:
parent
0dcd0904e8
commit
45c16f9d52
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue