Go offline with the Player FM app!
024: Do you understand this weird production behavior?
Manage episode 394505488 series 3302141
Something absurd happened in 2024 for one of my consulting client's production web application, and this code for a time. The time zero value is behaving differently than it has been since 2018.
{{if .TimeField}}
Date has a value: {{ .TimeField }}
{{else}}
No date, zero value
{{end}}
I launched my new course Build a Google Analytics in Go, if you're interested and/or want to support this show that's how to do it.
42 episodes
Manage episode 394505488 series 3302141
Something absurd happened in 2024 for one of my consulting client's production web application, and this code for a time. The time zero value is behaving differently than it has been since 2018.
{{if .TimeField}}
Date has a value: {{ .TimeField }}
{{else}}
No date, zero value
{{end}}
I launched my new course Build a Google Analytics in Go, if you're interested and/or want to support this show that's how to do it.
42 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.