common

package
v0.0.0-...-f00f9bd Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonOutput

func JsonOutput(filename string, title string, data interface{})

func PanicIf

func PanicIf(err error, transforms ...func(error) error)

func ReadReleaseInfo

func ReadReleaseInfo(srcfilename string) *[]ReleaseInfo

Types

type ReleaseInfo

type ReleaseInfo struct {
	Origin        string
	Label         string
	Suite         string
	Version       string
	Date          time.Time
	Codename      string
	URL           []string
	Architectures []string
}

func (ReleaseInfo) BranchNames

func (ri ReleaseInfo) BranchNames() []string

Jump to

Keyboard shortcuts

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