version

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 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.ir/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