appinfo

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FullName

func FullName() string

func ID

func ID() string

func Name

func Name() string

func Version

func Version() string

Types

type AppInfo

type AppInfo struct {
	Application *Application
	Platform    *Platform
	Terminal    *Terminal
}

func GetInstance

func GetInstance() *AppInfo

func (*AppInfo) String

func (appInfo *AppInfo) String() string

type Application

type Application struct {
	ID       string
	Name     string
	FullName string
	Version  string
}

type Platform

type Platform struct {
	OS   string
	Arch string
}

type Terminal

type Terminal struct {
	ColorProfile string
}

Jump to

Keyboard shortcuts

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