Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Clean code

Daniel4815e62616fa
diff --git a/kernel/av/filter.go b/kernel/av/filter.go
index c6267c66cc..cc88993dd5 100644
--- a/kernel/av/filter.go
+++ b/kernel/av/filter.go
@@ -17,8 +17,9 @@
package av
import (
- "github.com/siyuan-note/siyuan/kernel/util"
"strings"
+
+ "github.com/siyuan-note/siyuan/kernel/util"
)
type Filterable interface {
@@ -51,8 +52,8 @@ const (
)
type RelativeDate struct {
- Count int `json:"count"` // 数量
- Unit RelativeDateUnit `json:"unit"` // 单位:0 天、1 周、2 月、3 年
+ Count int `json:"count"` // 数量
+ Unit RelativeDateUnit `json:"unit"` // 单位:0 天、1 周、2 月、3 年
Direction RelativeDateDirection `json:"direction"` // 方向:-1 前、0 这、1 后
}