meta

package
v0.0.0-...-51e328c Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "v0.0.0"

Variables

This section is empty.

Functions

func ExecCommand

func ExecCommand(name string, args ...string) (string, error)

func GetCurrentDate

func GetCurrentDate() string

func GetCurrentDateTime

func GetCurrentDateTime() string

func GetCurrentDateTimeNumbersOnly

func GetCurrentDateTimeNumbersOnly() string

func GetCurrentDir

func GetCurrentDir() string

func GetCurrentTimestamp

func GetCurrentTimestamp() int

func GetCurrentUser

func GetCurrentUser() string

func GetDateTimeFromTimestamp

func GetDateTimeFromTimestamp(timeStamp int) string

func GetFutureDate

func GetFutureDate(years int, months int, days int) string

func GetFutureDateTime

func GetFutureDateTime(years int, months int, days int) string

func GetFutureTimestamp

func GetFutureTimestamp(years int, months int, days int) int

func GetInterfaceIpv4Addr

func GetInterfaceIpv4Addr(interfaceName string) (string, error)

func GetSpecificHost

func GetSpecificHost(host string) string

func GetVersion

func GetVersion() string

func InterfaceExists

func InterfaceExists(interfaceName string) (bool, error)

func IsIpAddr

func IsIpAddr(addr string) bool

func ParseDateInt

func ParseDateInt(dateStr string) (int, error)

func ParseDateTimeInt

func ParseDateTimeInt(dateTimeStr string) (int, error)

func PrintVersion

func PrintVersion()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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