types

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultPlatform = Platform{/* contains filtered or unexported fields */}

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Printf(format string, a ...any)
	Println(a ...any)
	RePrintf(format string, a ...any)
}

Logger represents the interface to log to stderr.

type Platform

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

func ParsePlatform

func ParsePlatform(s string) Platform

func (Platform) Arch

func (p Platform) Arch() string

func (Platform) IsEqual

func (p Platform) IsEqual(pf Platform) bool

func (Platform) IsSupported

func (p Platform) IsSupported() bool

func (Platform) OS

func (p Platform) OS() string

func (Platform) String

func (p Platform) String() string

func (Platform) Variant

func (p Platform) Variant() string

Jump to

Keyboard shortcuts

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