Compare commits
No commits in common. "fcdfae85e3643ce76bfdf6114d960034a04f241a" and "5a37ffb1cfdbca104e3b47bd7e066b73efc14b2f" have entirely different histories.
fcdfae85e3
...
5a37ffb1cf
3
data.go
3
data.go
@ -109,8 +109,7 @@ func (d *Data) update() {
|
||||
// Filter issues with old target versions out
|
||||
var issues = Issues{}
|
||||
for _, issue := range iss.Issues {
|
||||
if issue.Resolution.Name == "open" &&
|
||||
strings.Compare(d.minimumVersion, issue.TargetVersion.Name) < 0 {
|
||||
if strings.Compare(d.minimumVersion, issue.TargetVersion.Name) < 0 {
|
||||
issues = append(issues, issue)
|
||||
}
|
||||
}
|
||||
|
2
main.go
2
main.go
@ -65,11 +65,9 @@ func main() {
|
||||
}()
|
||||
|
||||
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||
log.Println("got request for table")
|
||||
data.printTemplate(w, "table.tmpl")
|
||||
})
|
||||
http.HandleFunc("/list", func(w http.ResponseWriter, r *http.Request) {
|
||||
log.Println("got request for list")
|
||||
data.printTemplate(w, "list.tmpl")
|
||||
})
|
||||
http.HandleFunc("/json", func(w http.ResponseWriter, r *http.Request) {
|
||||
|
Loading…
Reference in New Issue
Block a user