utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Utils contains supporting utility functions for Trakx.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunOn

func RunOn(duration time.Duration, run func())

RunOn will run the given function at the exact tick of the duration. For example, RunOn(1*time.Minute, f) would execute f on the minute, every minute.

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