Procházet zdrojové kódy

Revert "Merge pull request #18 from writeas/include-coll"

This reverts commit 8463946e2d6b211208c04eb6832f155865d12de3, reversing
changes made to 8cf5d50560.
tags/v2.0.2
Matt Baer před 4 roky
rodič
revize
ada6b850c1
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      post.go

+ 2
- 2
post.go Zobrazit soubor

@@ -38,7 +38,7 @@ type (
// PostParams holds values for creating or updating a post.
PostParams struct {
// Parameters only for updating
ID string `json:"id,omitempty"`
ID string `json:"-"`
Token string `json:"token,omitempty"`

// Parameters for creating or updating
@@ -55,7 +55,7 @@ type (
Crosspost []map[string]string `json:"crosspost,omitempty"`

// Parameters for collection posts
Collection string `json:"collection,omitempty"`
Collection string `json:"-"`
}

// PinnedPostParams holds values for pinning a post


Načítá se…
Zrušit
Uložit