Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultHttpClient ¶
func DefaultTransport ¶ added in v0.4.5
DefaultTransport returns the shared HTTP transport used by the default client, so callers can build their own *http.Client (e.g. with a cookie jar) while reusing the same connection pool and timeouts.
func ExtractLinksFromString ¶
func IsValidUrl ¶
func JSONUnescape ¶ added in v0.5.0
JSONUnescape decodes a JSON string body (handling \/, \uXXXX, etc.) extracted from a larger document via regex. It returns the input unchanged if it is not a valid JSON string body.
Types ¶
type Slice ¶
type Slice[T any] struct { // contains filtered or unexported fields }
func NewSliceWithLength ¶
func (*Slice[T]) AddToIndex ¶
Click to show internal directories.
Click to hide internal directories.