Creating SQL Table from a Go Struct
None of your columns are marked non-nullable. This is important for data integrity.
duration and date both seem mis-represented as int. You're in PostgreSQL, so read https://www.postgresql.org/docs/current/datatype-datetime.html and then consider instead

interval for duration, and
date for date