package
1.0.5
Repository: https://github.com/vnhacker1337/go-toolkit.git
Documentation: pkg.go.dev

# README

mapsutil

The package contains various helpers to interact with maps

# Functions

Clear the map passed as parameter.
Difference returns the inputted map without the keys specified as input.
DNSToMap Converts DNS to Matcher Map.
Flatten takes a map and returns a new one where nested maps are replaced by dot-delimited keys.
GetKeys returns the map's keys.
GetSortedKeys returns the map's keys sorted.
GetValues returns the map's values.
HTTPRequestToMap Converts HTTP Request to Matcher Map.
HTTPResponseToMap Converts HTTP Response to Matcher Map.
HTTPToMap Converts HTTP to Matcher Map.
IsEmpty checks if a map is empty.
Merge merges the inputted maps into a new one.
NewOrderedMap creates a new OrderedMap.
NewSyncLockMap creates a new SyncLockMap.
SliceToMap returns a map having as keys the elements in even positions and as values the elements in odd positions.
Walk a map and visit all the edge key:value pairs.
No description provided by the author

# Variables

No description provided by the author

# Structs

OrderedMap is a map that preserves the order of elements.
SyncLock adds sync and lock capabilities to generic map.

# Type aliases

Map wraps a generic map type.
No description provided by the author