link

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Link struct {
	Label      string   `json:"label" yaml:"label,omitempty"`
	Categories []string `json:"categories" yaml:"categories,omitempty,flow"`
	URL        string   `json:"url" yaml:"url,omitempty"`
}

Link represents an entry in the link directory that can be used by a user to identify and access a link they're looking for

func (Link) GetKey added in v0.1.14

func (l Link) GetKey() string

GetKey returns a (hopefully) unique identifier for this Link instance for operations such as de-duplication

Jump to

Keyboard shortcuts

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