util

package module
v0.0.0-...-3194d9e Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: MIT Imports: 4 Imported by: 0

README

util GoDoc

import "github.com/fvbommel/util"

Go utility packages.

Documentation

Overview

Package util includes various small pieces of code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShortRegexpString

func ShortRegexpString(vs ...string) (res string)

ShortRegexpString tries to construct a short regexp that matches exactly the provided strings and nothing else.

Warning: the current implementation may use a lot of time of memory.

Types

This section is empty.

Directories

Path Synopsis
cmd
short-regexp
short-regexp is a command-line utility that reads strings from standard input (one per line) and outputs a regexp that matches only those strings.
short-regexp is a command-line utility that reads strings from standard input (one per line) and outputs a regexp that matches only those strings.
Package rope implements a "heavy-weight string", which represents very long strings more efficiently (especially when many concatenations are performed).
Package rope implements a "heavy-weight string", which represents very long strings more efficiently (especially when many concatenations are performed).
Package sortorder implements sort orders and comparison functions.
Package sortorder implements sort orders and comparison functions.

Jump to

Keyboard shortcuts

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