michiwend / gomusicbrainz

a Go (Golang) MusicBrainz WS2 client library - work in progress
MIT License
57 stars 24 forks source link

Check for empty date #14

Closed Sacules closed 6 years ago

Sacules commented 6 years ago

Some recordings don't have a date, so Go crashes when comparing "" to "2006". This is a small workaround to prevent that and allow the program to fallback to Go's default value.

michiwend commented 6 years ago

Hej @Sacules thanks for your contribution