examples

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = xerrors.New("example not found")
)

Functions

func Archive

func Archive(exampleID string) ([]byte, error)

Archive returns a tar by example ID.

func List

func List() ([]codersdk.TemplateExample, error)

List returns all embedded examples.

Types

This section is empty.

Jump to

Keyboard shortcuts

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