utils

package
v2.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandString

func RandString(n int) string

RandString generates a set of random numbers of a set length

func TickToHighResTimer

func TickToHighResTimer(ms float64) time.Duration

TickToHighResTimer provides a method to transform requestAnimationFrame clock elapsed time into a appropriate time.Duration

func Times

func Times(n int, fn func(int))

Times using the provided count, runs the function (n-1) number of times, since it starts from zero.

Types

This section is empty.

Jump to

Keyboard shortcuts

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