Releases: ryanuber/columnize
Releases · ryanuber/columnize
Fix go modules
The last release (v2.1.1) was created to add the go.mod
file. Given that this repository is already beyond v2
release-wise, and importers are already using the "v2" version of this package at a technically-v1 path, this is the lowest-impact way of un-breaking go modules. This release is simply to set this repository back to "not using Go modules" territory.
See #24 for further discussion and details.
v2.1.0
Features
- Settable per-line prefix [GH-3]
- Configurable behavior for empty lines [GH-5]
Enhancements
- New public
MergeConfig()
function
v2.0.1
API Changes
Format
and SimpleFormat
both return just a string
Format
and SimpleFormat
both accept only a string slice
v1.1.1
Bug Fixes
- Preserve padding if the first field is empty after
strings.TrimSpace()
v1.1.0
Changes:
- Introduces
Config
type to future-proof the api.
Release notes
- Breaks the original
Format()
api, which previously took multiple options in favor of accepting a config struct containing the options.
v0.1.0
Added travis status to README