mirror of
https://github.com/avelino/awesome-go.git
synced 2024-11-07 16:33:40 +00:00
fixme
This commit is contained in:
parent
8ec7df333c
commit
d016486849
@ -26,11 +26,15 @@ const issueTemplateContent = `
|
||||
|
||||
var issueTemplate = template.Must(template.New("issue").Parse(issueTemplateContent))
|
||||
|
||||
// FIXME: replace to official github client
|
||||
var reGithubRepo = regexp.MustCompile("https://github.com/[a-zA-Z0-9-._]+/[a-zA-Z0-9-._]+$")
|
||||
var githubGETREPO = "https://api.github.com/repos%s"
|
||||
var githubGETCOMMITS = "https://api.github.com/repos%s/commits"
|
||||
var githubPOSTISSUES = "https://api.github.com/repos/avelino/awesome-go/issues"
|
||||
|
||||
// FIXME: use https
|
||||
var awesomeGoGETISSUES = "http://api.github.com/repos/avelino/awesome-go/issues" //only returns open issues
|
||||
// FIXME: time.Hour * ...
|
||||
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"))
|
||||
|
Loading…
Reference in New Issue
Block a user