Closed markfeinstein closed 5 months ago
Change the behavior of StringToTime to return a zero value *time.Time rather than a nil to prevent a panic when sorting a slice of sessions.
StringToTime
*time.Time
nil
fixes #34
Additional changes
go get -u all
testify
format
Thanks for this work! I'll start using testify and will be adding more tests 👍
Change the behavior of
StringToTime
to return a zero value*time.Time
rather than anil
to prevent a panic when sorting a slice of sessions.fixes #34
Additional changes
go get -u all
testify
package for unit testingformat
function for performance improvements