utils

package
v0.0.0-...-a08e0d8 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DateRange

func DateRange(t time.Time, i string) (from time.Time, to time.Time, err error)

func ExistsPath

func ExistsPath(path string) (bool, error)

ExistsPath validates if the paths exists

func WriteStructTo

func WriteStructTo(path string, data interface{}) error

WriteStructTo writes a struct of data to the given path

func WriteTo

func WriteTo(path string, data []byte) error

WriteTo writes data to the given path

Types

This section is empty.

Jump to

Keyboard shortcuts

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