mirror of
https://github.com/avelino/awesome-go.git
synced 2024-11-13 11:14:37 -05:00
use the built-in const (#5267)
This commit is contained in:
parent
e3c909965a
commit
f308d553ed
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ var awesomeGoGETISSUES = "http://api.github.com/repos/avelino/awesome-go/issues"
|
|||
// time.Hour * ... or change type of variable
|
||||
var numberOfYears time.Duration = 1
|
||||
var timeNow = time.Now()
|
||||
var issueTitle = fmt.Sprintf("Investigate repositories with more than 1 year without update - %s", timeNow.Format("2006-01-02"))
|
||||
var issueTitle = fmt.Sprintf("Investigate repositories with more than 1 year without update - %s", timeNow.Format(time.DateOnly))
|
||||
|
||||
const deadLinkMessage = " this repository might no longer exist! (status code >= 400 returned)"
|
||||
const movedPermanently = " status code 301 received"
|
||||
|
|
Loading…
Reference in a new issue