views

package
v0.0.0-...-3377491 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoPackage

func GoPackage(pkg, vcs, url string) string

func IndexPage

func IndexPage(cards []Card, prev, next string) string

func PackageCard

func PackageCard(pkg_name, url, description string) string

func StreamGoPackage

func StreamGoPackage(qw422016 *qt422016.Writer, pkg, vcs, url string)

func StreamIndexPage

func StreamIndexPage(qw422016 *qt422016.Writer, cards []Card, prev, next string)

func StreamPackageCard

func StreamPackageCard(qw422016 *qt422016.Writer, pkg_name, url, description string)

func WriteGoPackage

func WriteGoPackage(qq422016 qtio422016.Writer, pkg, vcs, url string)

func WriteIndexPage

func WriteIndexPage(qq422016 qtio422016.Writer, cards []Card, prev, next string)

func WritePackageCard

func WritePackageCard(qq422016 qtio422016.Writer, pkg_name, url, description string)

Types

type Card

type Card struct {
	Name        string `json:"name"`
	URL         string `json:"url"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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