linkgroup

package
v0.0.0-...-045640b Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(spec *Spec)

Option defines an optional component of the spec.

func Link(label, url string) Option

type Spec

type Spec struct {
	Label string
	Links []link.Spec
}

Spec defines the elements needed to render a link group.

func New

func New(label string, options ...Option) Spec

Jump to

Keyboard shortcuts

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