From d4fd65f9c06a466538a659668d524fc9bfdb9d81 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Sat, 9 Feb 2019 07:10:47 -0500 Subject: [PATCH] Add Description to CollectionParams for creating a new collection. --- collection.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/collection.go b/collection.go index d63e116..d4c3771 100644 --- a/collection.go +++ b/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"` } )