site

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package web proves links and titles for recommended websites.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Groups

type Groups map[URI][]Website

Groups is a map of releasers URIs mapped to their websites.

type URI

type URI string

URI is the URL slug of the releaser.

type Website

type Website struct {
	// URL of the website, not working sites should exclude the protocol, e.g. www.example.com.
	// While working sites MUST include the protocol, e.g. https://www.example.com.
	URL string
	// Name of the website.
	Name string
	// NotWorking will not apply a hyperlink to the URL.
	NotWorking bool
}

URL is the historical URL of the releaser website.

func Find

func Find(uri string) []Website

Find returns the website for the given uri. It returns an empty string if the uri is not known.

Jump to

Keyboard shortcuts

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