Переглянути джерело

Fix funky comment after gofmt in posts.go

pull/771/head
Matt Baer 7 місяці тому
джерело
коміт
aa72bcba50
1 змінених файлів з 3 додано та 3 видалено
  1. +3
    -3
      posts.go

+ 3
- 3
posts.go Переглянути файл

@@ -517,9 +517,9 @@ func handleViewPost(app *App, w http.ResponseWriter, r *http.Request) error {
// newPost creates a new post with or without an owning Collection.
//
// Endpoints:
// /posts
// /posts?collection={alias}
// ? /collections/{alias}/posts
// - /posts
// - /posts?collection={alias}
// - ? /collections/{alias}/posts
func newPost(app *App, w http.ResponseWriter, r *http.Request) error {
reqJSON := IsJSON(r)
vars := mux.Vars(r)


Завантаження…
Відмінити
Зберегти