tableprinter
tableprinter copied to clipboard
Fast and easy-to-use table printer written in Go. Parse and print anywhere go values such as structs, slices, maps or any compatible value type as a table with ease.
The example works if the JSON is only one object, but it does not work if it is a list of object. Here is an example based on the JSON...
Hello, Using `ParseRow` method from `tableprinter.StructParser`, i got an issue related to an integer with more than 3 digits. So, having an integer like 8081 is parsed to 8.8K into...
I have a struct: ``` type Hello struct { One string `header:"One"` Two sql.NullString `header:"Two"` } ``` It is impossible to offer any hints to the table printer on how...
Handy library, thanks! What if don't want `TagsOnly` on my slice of structs? Currently I'm forced to: ```go reflect.Indirect(reflect.ValueOf(tableprinter.SliceParser)).FieldByName("TagsOnly").SetBool(false) ```