Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slicefmt

Go Reference

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

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages