helpers

package
v0.0.0-...-cdc6344 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileFormat

func CheckFileFormat(path string, exten string) bool

func FileInputString

func FileInputString() string

func GenRowString

func GenRowString(intro string, input string)

func GenTableFooter

func GenTableFooter()

func GenTableHeader

func GenTableHeader(name string)

func GenTableHeaderModified

func GenTableHeaderModified(name string)

func GetEnvVariable

func GetEnvVariable(key string) int

func GetEnvVariances

func GetEnvVariances() []float64

func Option

func Option(min int, max int) int

func OutputPathString

func OutputPathString() string

func PrintError

func PrintError(message string)

func PrintErrorLog

func PrintErrorLog(message string, err error)

func PrintInvalidLog

func PrintInvalidLog(message string)

func PrintLog

func PrintLog(message string)

func PrintValidLog

func PrintValidLog(message string)

Types

type CorruptPacketError

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

CorruptPacketError represents a custom error for a corrupt packet.

func (CorruptPacketError) Error

func (e CorruptPacketError) Error() string

type Message

type Message struct {
}

Message represents the message structure.

type NoNewPacketError

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

func (NoNewPacketError) Error

func (e NoNewPacketError) Error() string

type NotDATFileError

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

func (NotDATFileError) Error

func (e NotDATFileError) Error() string

Jump to

Keyboard shortcuts

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