Commit Graph

20 Commits

Author SHA1 Message Date
Chance Zibolski
c329e483ad Add ToDuration 2016-08-30 19:44:49 -04:00
Chance Zibolski
c3249683e8 Use strings.Fields 2016-08-30 19:44:49 -04:00
Chance Zibolski
a20148645b ToStringSliceE: Support string values 2016-08-30 19:44:49 -04:00
spf13
548a8c7168 Add support for pointers to basic types 2016-08-30 19:44:48 -04:00
spf13
b4d70dd7f5 Add proper support for error -> string and Stringer -> string. 2016-08-30 19:44:48 -04:00
Derek Perkins
3efc767833 Defaulted .ToStringE to use reflection to find a stringer element 2016-08-30 19:44:48 -04:00
bep
168fa9c54b Add support for HTML to String 2016-08-30 19:44:48 -04:00
txgruppi
ab8910ac85 Updated README, it was describing the wrong return type 2016-08-30 19:44:48 -04:00
txgruppi
c57ccf8bbe Updated to return bool false only for zero 2016-08-30 19:44:48 -04:00
bep
ba8259276f Add ToStringMapBool
ToStringMapBool is useful for a map of flags in a configuration file.
2016-08-30 19:44:48 -04:00
Asdine El Hrychy
476d66eae2 Removed forgotten fmt.Println("here") 2016-08-30 19:44:48 -04:00
Romain Baugue
211a300832 Added ToBool case for string, and added ToBool test cases 2016-08-30 19:44:47 -04:00
spf13
e7a65d0aba Adding ToSlice 2016-08-30 19:44:47 -04:00
spf13
9aa4c620a8 Caste now returns error instead of bool. 2016-08-30 19:44:47 -04:00
spf13
cc8bb26ffd Handling another case (map[string]interface{}) 2016-08-30 19:44:47 -04:00
spf13
6f7297ca1b adding Int to Float. Testing for float 2016-08-30 19:44:47 -04:00
spf13
61ff8bf802 Handling complex cases where input matches expected output 2016-08-30 19:44:47 -04:00
spf13
f83bf57543 Writing the README. Handling a few more cases, adding more tests. 2016-08-30 19:44:46 -04:00
spf13
f26a74dd99 initial commit of library & tests 2016-08-30 19:44:46 -04:00
Steve Francia
11826804c8 Initial commit 2016-08-30 19:44:46 -04:00