// Copyright © 2016 Alan A. A. Donovan & Brian W. Kernighan. // License: https://creativecommons.org/licenses/by-nc-sa/4.0/ // See page 115. // Issueshtml prints an HTML table of issues matching the search terms. package main import ( "log" "os" "gopl.io/ch4/github" ) //!+template import "html/template" var issueList = template.Must(template.New("issuelist").Parse(`
# | State | User | Title |
---|---|---|---|
{{.Number}} | {{.State}} | {{.User.Login}} | {{.Title}} |