Skip to content

Instantly share code, notes, and snippets.

@gavinzhou
Created June 17, 2018 03:04
Show Gist options
  • Save gavinzhou/43cc8bb09bfff2ac27bf71f7a3a9062d to your computer and use it in GitHub Desktop.
Save gavinzhou/43cc8bb09bfff2ac27bf71f7a3a9062d to your computer and use it in GitHub Desktop.
// CheckEndOfMonth check end of month
func CheckEndOfMonth() bool {
return time.Now().Add(+24*time.Hour).Day() == 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment