repository

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Branch   string
	Name     string
	Owner    string
	Repo     string
	Revision string
	Version  string
}

Info represents current project useful information.

func NewInfo

func NewInfo(warnf func(error)) (Info, error)

NewInfo returns a new Info.

func (Info) ToSemver

func (i Info) ToSemver() (*semver.Version, error)

ToSemver returns a *semver.Version from Info.

Jump to

Keyboard shortcuts

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