package util

Import Path
	github.com/imroc/req/v3/internal/util (on go.dev)

Dependency Relation
	imports 5 packages, and imported by 2 packages

Involved Source Files util.go
Package-Level Functions (total 9)
BasicAuthHeaderValue return the header of basic auth.
CreateDirectory create the directory.
CutBytes slices s around the first instance of sep, returning the text before and after sep. The found result reports whether sep appears in s. If sep does not appear in s, cut returns s, nil, false. CutBytes returns slices of the original slice s, not copies.
CutString slices s around the first instance of sep, returning the text before and after sep. The found result reports whether sep appears in s. If sep does not appear in s, cut returns s, "", false.
GetPointer return the pointer of the interface.
GetType return the underlying type.
IsJSONType method is to check JSON content type or not
IsStringEmpty method tells whether given string is empty or not
IsXMLType method is to check XML content type or not