Quellcode durchsuchen

Add Description to CollectionParams

for creating a new collection.
pull/17/head
Matt Baer vor 5 Jahren
Ursprung
Commit
d4fd65f9c0
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. +3
    -2
      collection.go

+ 3
- 2
collection.go Datei anzeigen

@@ -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…
Abbrechen
Speichern