浏览代码

Add Description to CollectionParams

for creating a new collection.
pull/17/head
Matt Baer 5 年前
父节点
当前提交
d4fd65f9c0
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      collection.go

+ 3
- 2
collection.go 查看文件

@@ -26,8 +26,9 @@ type (

// CollectionParams holds values for creating a collection.
CollectionParams struct {
Alias string `json:"alias"`
Title string `json:"title"`
Alias string `json:"alias"`
Title string `json:"title"`
Description string `json:"description,omitempty"`
}
)



正在加载...
取消
保存