util

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2018 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DurationToMS

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

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