このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
writeas
/
go-writeas
ミラー元
https://github.com/writeas/go-writeas.git
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
リリース
9
アクティビティ
ソースを参照
Catch delete's 204 success response
pull/6/head
Matt Baer
7年前
親
352395e604
コミット
436e840f2e
1個のファイルの変更
、
1行の追加
、
1行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+1
-1
post.go
+ 1
- 1
post.go
ファイルの表示
@@ -127,7 +127,7 @@ func (c *Client) DeletePost(sp *PostParams) error {
}
status := env.Code
if status == http.Status
OK
{
if status == http.Status
NoContent
{
return nil
} else if c.isNotLoggedIn(status) {
return fmt.Errorf("Not authenticated.")
書き込み
プレビュー
読み込み中…
キャンセル
保存