I tried to use custom time converter from README and used UnmarshalToCallback function. It didn't return error for wrong time format and silently returned nil, never calling callback. I changed my code to use UnmarshalToChan with go routine and wait group and error is actually returned by UnmarshalToChan. So, I suppose, some issue is inside for loop near select on the error channel. Probably, some race condition in case of error or short input streams.
I tried to use custom time converter from README and used UnmarshalToCallback function. It didn't return error for wrong time format and silently returned nil, never calling callback. I changed my code to use UnmarshalToChan with go routine and wait group and error is actually returned by UnmarshalToChan. So, I suppose, some issue is inside
for
loop nearselect
on the error channel. Probably, some race condition in case of error or short input streams.