xparse

package module
v0.0.0-...-ab29bdc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Documentation

Overview

xparse is a collection of parsing utilities, such as IP, time, and top-level-domain, in Go.

- xip is an IP (only v4 for now) parser that expands a given IP string to all the IP addresses it represents.

- xtime is a time parser that parses the time without knowning the exact format.

- xtld is a TLD parser that extracts the top-level-domain out from the given string.

Directories

Path Synopsis
etld is an effective TLD matcher that returns the length of the effective domain name for the given string.
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.
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.
Package xtime is a time parser that parses the time without knowning the exact format.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL