q icon indicating copy to clipboard operation
q copied to clipboard

panic when q.Q() an empty *time.Time

Open leoviggiano opened this issue 3 years ago • 0 comments

q.Q panic when have to print an empty *time.Time

Version: v1.0.17 Steps to reproduce:

var emptyDate *time.Time
q.Q(emptyDate)

Current result:

emptyDate=%!v(PANIC=Format method: value method time.Time.GoString called using nil *Time pointer)

Expected result

emptyDate=(*time.Time)(nil)

leoviggiano avatar Aug 15 '22 06:08 leoviggiano