gron: github.com/roylee0704/gron/xtime Index | Files

package xtime

import "github.com/roylee0704/gron/xtime"

Index

Package Files

xtime.go

Constants

const (
    //Second has 1 * 1e9 nanoseconds
    Second time.Duration = time.Second
    //Minute has 60 seconds
    Minute time.Duration = time.Minute
    //Hour has 60 minutes
    Hour time.Duration = time.Hour
    //Day has 24 hours
    Day time.Duration = time.Hour * 24
    //Week has 7 days
    Week time.Duration = Day * 7
)

Package xtime imports 1 packages (graph) and is imported by 8 packages. Updated 2016-07-22. Refresh now. Tools for package owners.