From adc21c95200536ccdca9accbc9f5a6c81799e3d3 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 10 Dec 2022 17:42:41 +0800 Subject: [PATCH] :art: Clean code --- kernel/model/file.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/model/file.go b/kernel/model/file.go index 520dea408..f8cb21b6b 100644 --- a/kernel/model/file.go +++ b/kernel/model/file.go @@ -50,9 +50,9 @@ import ( type File struct { Path string `json:"path"` - Name string `json:"name"` + Name string `json:"name"` // 标题,即 ial["title"] Icon string `json:"icon"` - Name1 string `json:"name1"` + Name1 string `json:"name1"` // 命名,即 ial["name"] Alias string `json:"alias"` Memo string `json:"memo"` Bookmark string `json:"bookmark"`