github

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package github provides functionalities to decorate a repository with modules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hydrator

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

Hydrator is a config.Hydrator.

func NewHydrator

func NewHydrator(finder module.Finder, opts ...HydratorOption) *Hydrator

NewHydrator initiates a new config.Hydrator.

func (*Hydrator) Hydrate

func (h *Hydrator) Hydrate(s *site.Site) error

Hydrate hydrates the configuration.

type HydratorOption added in v0.4.0

type HydratorOption interface {
	// contains filtered or unexported methods
}

HydratorOption is an option to configure Hydrator.

func WithOutput added in v0.4.0

func WithOutput(w io.Writer) HydratorOption

WithOutput sets the output writer.

Jump to

Keyboard shortcuts

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