1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-06 21:52:28 +08:00

fmt: go fmt for request_test.go

This commit is contained in:
dudaodong
2021-12-28 19:28:55 +08:00
parent ab012f2545
commit 8b1171d0cb

View File

@@ -34,7 +34,7 @@ func TestHttpGet(t *testing.T) {
func TestHttpPost(t *testing.T) {
url := "http://api.postcodes.io/postcodes"
type Postcode struct {
Postcodes []string `json:"postcodes"`
Postcodes []string `json:"postcodes"`
}
postcode := Postcode{[]string{"OX49 5NU"}}
bodyParams, _ := json.Marshal(postcode)