mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 21:38:48 +01:00
🎨 Clean code
This commit is contained in:
parent
b3c0ef2f31
commit
4815e62616
1 changed files with 4 additions and 3 deletions
|
|
@ -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 后
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue