fix: fix lint issue

This commit is contained in:
dudaodong committed 2022-12-10 16:53:41 +08:00
1 parent 13bbe19ab2
commit 1197e8d1b6
6 files changed
+30 -29

No files matched your search

+1 -4
View File
@@ -51,10 +51,7 @@ func TestHttpPostFormData(t *testing.T) {
// "Content-Type": "application/x-www-form-urlencoded",
"Content-Type": "multipart/form-data",
}
type Todo struct {
UserId int `json:"userId"`
Title string `json:"title"`
}
postData := url.Values{}
postData.Add("userId", "1")
postData.Add("title", "TestToDo")