Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Filter ¶
func Filter[T comparable](arr []T, predicate func(T) bool) []T
func SetToSlice ¶
func SetToSlice[T comparable](src map[T]bool) []T
func SliceToSet ¶
func SliceToSet[T comparable](src []T) map[T]bool
Types ¶
type InterceptFunc ¶
type InterceptTransport ¶
type InterceptTransport struct {
T http.RoundTripper
// contains filtered or unexported fields
}
func NewInterceptTransport ¶
func NewInterceptTransport(t http.RoundTripper, f InterceptFunc) *InterceptTransport
Click to show internal directories.
Click to hide internal directories.