webview

package
Version: v0.0.0-...-6850e58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIError

type APIError struct {
	Err   error
	Title string
}

func (APIError) Error

func (e APIError) Error() string

type GitHubIssues

type GitHubIssues []github.Issue

func (GitHubIssues) Len

func (s GitHubIssues) Len() int

func (GitHubIssues) Less

func (s GitHubIssues) Less(i, j int) bool

Issue i comes before j if i was created after j. Essentially CreatedAt descending, where the most recent is first.

func (GitHubIssues) Swap

func (s GitHubIssues) Swap(i, j int)

type Handler

type Handler struct {
	Users  []string
	Client *gh.Client
}

func (Handler) ServeHTTP

func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Page

type Page struct {
	Title  string
	Issues GitHubIssues
	Tmpl   *template.Template
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL