Check If a Date is in The Future?
Whether you’re setting up a calendar event or issuing a JWT token, knowing how to manipulate and validate time can save you from many potential headaches. In Go, the built-in time package provides a comprehensive set of tools to work with dates and times.
View Time Docs How to If you check the date in question, is after the current time then this basically does a ‘am I in the future’ check.