Bladeren bron

Add Description to CollectionParams

for creating a new collection.
pull/17/head
Matt Baer 5 jaren geleden
bovenliggende
commit
d4fd65f9c0
1 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. +3
    -2
      collection.go

+ 3
- 2
collection.go Bestand weergeven

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



Laden…
Annuleren
Opslaan