branch

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package branch provides functions to handle branch configuration.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoBranch = errors.New("no branch configuration")
	ErrNoName   = errors.New("no name in branch configuration")
)

Functions

This section is empty.

Types

type Branch

type Branch struct {
	Name       string
	Prerelease bool
}

func Unmarshall

func Unmarshall(input []map[string]string) ([]Branch, error)

Unmarshall takes a raw Viper configuration and returns a slice of Branch representing a branch configuration.

Jump to

Keyboard shortcuts

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