Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func Contains[T comparable](items []T, value T) bool
 - func Copy[T any](items []T) []T
 - func Fprint(writer io.Writer, args ...any)
 - func Fprintf(writer io.Writer, format string, args ...any)
 - func Fprintln(writer io.Writer, args ...any)
 - func Indirect(instance any) any
 - func IsEmpty(instance any) bool
 - func IsErrorType(reflectType reflect.Type) bool
 - func IsParentContext(parent context.Context, child context.Context) (ok bool)
 - func Keys[K comparable, V any](items map[K]V) []K
 - func Reverse[T any](items []T)
 - func Values[K comparable, V any](items map[K]V) []V
 
Constants ¶
      View Source
      
  
const Indent = "  "
    Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](items []T, value T) bool
func IsErrorType ¶
IsErrorType returns true if the type is an error.
func IsParentContext ¶
func Keys ¶
func Keys[K comparable, V any](items map[K]V) []K
func Values ¶
func Values[K comparable, V any](items map[K]V) []V
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.