| 295 | fs := http.FileServer(staticFS) |
| 296 | |
| 297 | type PageData struct { |
| 298 | Org string |
| 299 | HasNonIssueStats bool |
| 300 | Stats org.OrgStats |
| 301 | TotalRunners int |
| 302 | TotalInstallations int |
| 303 | TotalWebhooks int |
| 304 | Apps []WrappedOAuthApp |
| 305 | Issues []WrappedIssue |
| 306 | Installations []InstallationInfo |
| 307 | ChecksPassed []string |
| 308 | ChecksFailed []string |
| 309 | Permissions []string |
| 310 | Users []string |
| 311 | PermissionSummary map[string]map[string]string |
| 312 | } |
| 313 | |
| 314 | t, err := template.ParseFS(indexHTML, "templates/index.html.tmpl") |
| 315 | if err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected