version

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Licenses = []License{
	{
		ModuleName:  "httpie-go",
		LicenseName: "MIT License",
		Link:        "https://github.com/HexmosTech/httpie-go/blob/master/LICENSE",
	},
	{
		ModuleName:  "Go",
		LicenseName: "BSD License",
		Link:        "https://golang.org/LICENSE",
	},
	{
		ModuleName:  "aurora",
		LicenseName: "WTFPL",
		Link:        "https://github.com/logrusorgru/aurora/blob/master/LICENSE",
	},
	{
		ModuleName:  "go-isatty",
		LicenseName: "MIT License",
		Link:        "https://github.com/mattn/go-isatty/blob/master/LICENSE",
	},
	{
		ModuleName:  "getopt",
		LicenseName: "BSD License",
		Link:        "https://github.com/pborman/getopt/blob/master/LICENSE",
	},
	{
		ModuleName:  "errors",
		LicenseName: "BSD License",
		Link:        "https://github.com/pkg/errors/blob/master/LICENSE",
	},
	{
		ModuleName:  "bytefmt",
		LicenseName: "Apache License",
		Link:        "https://github.com/cloudfoundry/bytefmt/blob/master/LICENSE",
	},
	{
		ModuleName:  "ewma",
		LicenseName: "MIT License",
		Link:        "https://github.com/VividCortex/ewma/blob/master/LICENSE",
	},
	{
		ModuleName:  "stripansi",
		LicenseName: "MIT License",
		Link:        "https://github.com/acarl005/stripansi/blob/master/LICENSE",
	},
	{
		ModuleName:  "mpb",
		LicenseName: "Unlicense",
		Link:        "https://github.com/vbauerster/mpb/blob/master/UNLICENSE",
	},
}

Functions

func PrintLicenses

func PrintLicenses(w io.Writer)

Types

type License

type License struct {
	ModuleName  string
	LicenseName string
	Link        string
}

type Version

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

Version represents a version of httpie-go

func Current

func Current() *Version

Current returns current version of httpie-go

func (*Version) String

func (v *Version) String() string

Jump to

Keyboard shortcuts

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