# Mistake #87: Not dealing with the time API efficiently Understanding how to deal with functions using the time API is another way to make a test less flaky. You can use standard techniques such as handling the time as part of a hidden dependency or asking clients to provide it. [Source code](https://github.com/teivah/100-go-mistakes/tree/master/src/11-testing/87-time-api/)