Skip to content

Commit

Permalink
update xutil lib
Browse files Browse the repository at this point in the history
  • Loading branch information
onanying committed Apr 28, 2023
1 parent 699f4dc commit ebf7078
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ go get github.com/mix-go/xutil

执行一个http请求。

Execute an http request.

```go
http.Request(method string, u string, body string, opts ...Options) ([]byte, error)
```
Expand All @@ -26,12 +28,16 @@ http.RequestString(method string, u string, body string, opts ...Options) (strin

搜索数组中是否存在指定的值。

Searches if the specified value exists in the array.

```go
slices.InArray[T comparable](item T, slice []T) bool
```

用于检测变量是否为数字或数字字符串。

Used to check if the variable is a number or a numeric string.

```go
strings.IsNumeric(s string) bool
```
Expand Down

0 comments on commit ebf7078

Please sign in to comment.