utils

package
v0.0.0-...-a9dc3e9 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DurToSec

func DurToSec(dur string) (sec float64)

func LineSeparator

func LineSeparator() string

func TestCmd

func TestCmd(command string, args string) (bytes.Buffer, error)

Types

type TemporaryDirectory

type TemporaryDirectory struct {
	// contains filtered or unexported fields
}

func (*TemporaryDirectory) CleanUp

func (tmpDir *TemporaryDirectory) CleanUp()

func (*TemporaryDirectory) CreateTempDirectory

func (tmpDir *TemporaryDirectory) CreateTempDirectory() (*TemporaryDirectory, error)

func (*TemporaryDirectory) GetTempPath

func (tmpDir *TemporaryDirectory) GetTempPath() string

Jump to

Keyboard shortcuts

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