Documentation ¶
Index ¶
- Variables
- func DateTime(format string, timestamp ...int64) string
- func FixedZeoneSet(offset int)
- func FixedZone(offset int) *time.Location
- func HasOr(has interface{}, then ...interface{}) interface{}
- func InArray(needle interface{}, haystack interface{}) (index int, exists bool)
- func IsEmpty(val interface{}) bool
- func LoadLocation(lc *time.Location)
- func TimeZoneSet(name string) error
- func Timezone() *time.Location
- type Date
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FixedZeoneSet ¶
func FixedZeoneSet(offset int)
Useing the given time zone offset settings Location
func FixedZone ¶
Return a give time zone offset Settings (hours east of UTC) for example: UTC+8 = utils.FixedZone(8) or UTC-8 = utils.FixedZone(-8) UTC = utils.FixedZone(0)
func HasOr ¶
func HasOr(has interface{}, then ...interface{}) interface{}
if the val is empty (IsEmpty) then ...
func LoadLocation ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.