util

package
v0.0.0-...-5529b57 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package util provides utility functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTestGenerationMode

func IsTestGenerationMode() bool

IsTestGenerationMode returns true if we're in test-gen mode while running tests

func SeedRand

func SeedRand()

SeedRand seeds math/rand with a secure random number

func TimeToUnixFloat

func TimeToUnixFloat(tm time.Time) float64

TimeToUnixFloat creates Unix epoch seconds from a Time structure

Types

This section is empty.

Jump to

Keyboard shortcuts

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