package
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Mar 24, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
BestMatch best matches s in a.
If no exact match is found, will match with regex `\w*s\w*`.
If no regex match, return def.
Contains tells whether a contains s.
And return the index of first match. If not found, index is -1.
SliceToMap turns a slice of string into a map, with given default value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.