modulepackage
0.0.0-20171128034418-ab29bdc5e11c
Repository: https://github.com/reflect/xparse.git
Documentation: pkg.go.dev
# README
parse
A collection of parsing utilities:
- xip - IP (only v4 for now) parser that expands a given IP string to all the IP addresses it represents.
- xtime - time parsing utility in Go. It exposes a set of time formats that it knows how to parse, and a single function
Parse()
to parse any time string. - xtld - TLD parser that extracts the top-level-domain out from the given string. It uses the data set from https://www.publicsuffix.org/list/effective_tld_names.dat.
# Packages
etld is an effective TLD matcher that returns the length of the effective domain name for the given string.
xip is an IP (only v4 for now) parser that expands a given IP string to all the IP addresses it represents.
Package xtime is a time parser that parses the time without knowning the exact format.