Browse Source

Add Description to CollectionParams

for creating a new collection.
pull/17/head
Matt Baer 5 years ago
parent
commit
d4fd65f9c0
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      collection.go

+ 3
- 2
collection.go View File

@@ -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"`
}
)



Loading…
Cancel
Save