This commit is contained in:
Daniel 2025-06-08 11:01:21 +08:00
parent e11f93e9f1
commit d80bed7b85
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 49 additions and 10 deletions

View file

@ -189,7 +189,7 @@ type View struct {
Gallery *LayoutGallery `json:"gallery,omitempty"` // 画廊布局
}
// LayoutType 描述了视图布局类型。
// LayoutType 描述了视图布局类型。
type LayoutType string
const (
@ -619,8 +619,9 @@ func getI18nName(name string) string {
}
var (
ErrViewNotFound = errors.New("view not found")
ErrKeyNotFound = errors.New("key not found")
ErrViewNotFound = errors.New("view not found")
ErrKeyNotFound = errors.New("key not found")
ErrWrongLayoutType = errors.New("wrong layout type")
)
const (