Documentation
¶
Index ¶
- Variables
- func AbsPercentDifference(current float64, previous float64) (difference float64)
- func CalculatePercentile[S float32 | int32 | float64 | int64](elements []S, percentile int) S
- func ChannelToSlice[S any](channel <-chan S) (slice []S)
- func Conditional(condition bool, t string, f string) string
- func FilenameAppend(filename, appendage string) string
- func Fmap[S any, F any](elements []S, mapper func(S) F) []F
- func GetSome[S any](optional Optional[S]) S
- func IsInterfaceNil(ifc interface{}) bool
- func IsNone[S any](optional Optional[S]) bool
- func IsSome[S any](optional Optional[S]) bool
- func Max(x, y uint64) uint64
- func OrTimeout(f func(), timeout time.Duration)
- func RandBetween(max int) int
- func SeekForAppend(file *os.File) (err error)
- func SignedPercentDifference(current float64, previous float64) (difference float64)
- func ToMBps(bytes float64) float64
- func ToMbps(bytes float64) float64
- type MeasurementResult
- type Optional
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AbsPercentDifference ¶
func CalculatePercentile ¶
func ChannelToSlice ¶
func ChannelToSlice[S any](channel <-chan S) (slice []S)
func FilenameAppend ¶
func IsInterfaceNil ¶
func IsInterfaceNil(ifc interface{}) bool
func RandBetween ¶
func SeekForAppend ¶
func SignedPercentDifference ¶
Types ¶
type MeasurementResult ¶
Click to show internal directories.
Click to hide internal directories.