The Central Go Modules Repository

To use GoCenter:
export GOPROXY=https://gocenter.io
2
Stars
MIT
License
1
Downloads
January 9th 2019
Last Modified
Version:
Loading...

collapsewhitespace

Build Status Go Report Card Go docs

Efficiently collapse multiple whitespace characters in a string into a single space.

Usage

import "4d63.com/collapsewhitespace"
collapsewhitespace.String("a  b	\nc") // "a b c"