format

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Funcs added in v0.2.0

func Funcs() map[string]interface{}

Types

type Decoder added in v0.4.0

type Decoder interface {
	Decode(in io.Reader, group string) (snippet.Snippets, error)
}

type Encoder added in v0.4.0

type Encoder interface {
	Encode(out io.Writer, snippets snippet.Snippets) error
}

type Exporter

type Exporter interface {
	Export(snippets snippet.Snippets, dest string) error
}

type Exts

type Exts []string

func (Exts) Contains

func (exts Exts) Contains(t string) bool

type Loader

type Loader interface {
	Load(src string) (snippet.Snippets, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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