package truncate
import "github.com/oslokommune/okctl/pkg/truncate"
Package truncate implements truncating variables
Index ¶
Functions ¶
func Bytes ¶
Bytes truncates a byte array to the minimum of its length and the given max length
func String ¶
String truncates a string to the minimum of its length and the given max length
Source Files ¶
- Version
- v0.0.106 (latest)
- Published
- Oct 21, 2022
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 18 hours ago –
Tools for package owners.