Skip to content

Commit

Permalink
Update xutil
Browse files Browse the repository at this point in the history
  • Loading branch information
onanying committed Sep 11, 2023
1 parent 84a0b9f commit 8eac2ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ go get github.com/mix-go/xutil
|----------------------------------------------------------------------------------|----------------------------------|
| xhttp.Request(method string, u string, opts ...RequestOption) (*Response, error) | Execute an http request. |
| xhttp.WithBody(body Body) RequestOption | Set configuration item |
| WithHeader(header http.Header) RequestOption | Set configuration item |
| WithContentType(contentType string) RequestOption | Set configuration item |
| WithTimeout(timeout time.Duration) RequestOption | Set configuration item |
| xhttp.WithHeader(header http.Header) RequestOption | Set configuration item |
| xhttp.WithContentType(contentType string) RequestOption | Set configuration item |
| xhttp.WithTimeout(timeout time.Duration) RequestOption | Set configuration item |
| xhttp.BuildJSON(v interface{}) Body | Generate json string |
| xhttp.BuildQuery(m map[string]string) Body | Generate urlencoded query string |

Expand Down

0 comments on commit 8eac2ed

Please sign in to comment.