frgm

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowExts = format.Exts{".yml", ".yaml"}

Functions

This section is empty.

Types

type Frgm

type Frgm struct {
	// contains filtered or unexported fields
}

func New

func New(ignore []string) *Frgm

New return new Frgm

func (*Frgm) Encode added in v0.4.0

func (f *Frgm) Encode(out io.Writer, snippets snippet.Snippets) error

func (*Frgm) Export added in v0.0.3

func (f *Frgm) Export(snippets snippet.Snippets, dest string) error

func (*Frgm) Load

func (f *Frgm) Load(src string) (snippet.Snippets, error)

func (*Frgm) LoadSet

func (f *Frgm) LoadSet(in io.Reader, defaultGroup string) (*snippet.SnippetSet, error)

func (*Frgm) LoadSets added in v0.0.3

func (f *Frgm) LoadSets(src string) ([]*snippet.SnippetSet, error)

Jump to

Keyboard shortcuts

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