category

package
v0.0.0-...-5af6bcd Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryStore

type CategoryStore struct {
	*services.BasicService
	// contains filtered or unexported fields
}

func New

func New(cfg Config, logger log.Logger) *CategoryStore

func (*CategoryStore) GetProvider

func (r *CategoryStore) GetProvider(category string) provider.TemplateProvider

type Config

type Config struct {
	BaseDirectory string                 `yaml:"base_directory"`
	Categories    flagext.StringSliceCSV `yaml:"categories"`
	Synchronize   sync.Config            `yaml:"sync"`
}

func (*Config) RegisterFlags

func (c *Config) RegisterFlags(f *flag.FlagSet)

Jump to

Keyboard shortcuts

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