util

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DurationToMS added in v0.3.0

func DurationToMS(duration time.Duration) int64

DurationToMS converts a duration into milliseconds

func HasEmptyString

func HasEmptyString(strs ...string) bool

HasEmptyString returns whether there are any empty strings in given strings

func ParseTimeString added in v0.3.0

func ParseTimeString(s string) (time.Time, error)

ParseTimeString parses a time string into time.Time

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