go get github.com/jimmyfrasche/slicefmt
Package slicefmt helps format slices.
The Config describes how to format slices but not their elements. Given a Config, cfg, and a slice, vs, it can be used as such
fmt.Printf("example: %q\n", cfg.Fmt(vs))
In this example the %q verb is applied to each of the elements of vs while cfg handles how to print separators between elements, among other things.
Automatically generated by autoreadme