providers

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	BuildProvider(system system.System, config Config) ([]Provider, error)
}

func NewBuilder

func NewBuilder() Builder

type Config

type Config struct {
	SnippetsLab snippetslab.Config `yaml:"snippetsLab" mapstructure:"snippetsLab"`
	FsLibrary   fslibrary.Config   `yaml:"fsLibrary" mapstructure:"fsLibrary"`
}

type Provider

type Provider interface {
	Info() model.ProviderInfo
	GetSnippets() []model.Snippet
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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