examples

package
v0.13.2-prerelease.2 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(examples ...Example) string

Builds a list of formatted examples

Types

type Example

type Example struct {
	Description string
	Commands    []string
}

func NewExample

func NewExample(description string, commands ...string) Example

Creates a new example

Jump to

Keyboard shortcuts

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