gos

package
v1.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLinux

func IsLinux() bool

IsLinux determines whether the system is linux

func IsMac

func IsMac() bool

IsMac determines whether the system is darwin

func IsSupport256Color

func IsSupport256Color() bool

IsSupport256Color check current console whether support 256 color.

func IsSupportColor

func IsSupportColor() bool

IsSupportColor check current console whether support color. Supported: linux, mac, or windows's ConEmu, Cmder, putty, git-bash.exe Not support: windows cmd.exe, powerShell.exe

func IsSupportTrueColor

func IsSupportTrueColor() bool

IsSupportTrueColor check current console whether support true color

func IsWin

func IsWin() bool

IsWin determine whether the system is windows

Types

This section is empty.

Jump to

Keyboard shortcuts

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