kdconv

package module
v0.0.0-...-c6d0fda Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2013 License: LGPL-3.0 Imports: 4 Imported by: 0

README

GoConv

提供一些通用型別轉換的函數

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(data interface{}) bool

func BoolDef

func BoolDef(data interface{}, def bool) bool

func Float

func Float(data interface{}) float32

func FloatDef

func FloatDef(data interface{}, def float32) float32

func Int

func Int(data interface{}) int

func Int64

func Int64(data interface{}) int64

func Int64Def

func Int64Def(data interface{}, def int64) int64

func IntDef

func IntDef(data interface{}, def int) int

func String

func String(data interface{}) string

func StringDef

func StringDef(data interface{}, def string) string

func Time

func Time(data interface{}) time.Time

func TimeAddLocalZoneOffset

func TimeAddLocalZoneOffset(t time.Time) time.Time

func TimeDef

func TimeDef(data interface{}, def time.Time) time.Time

func TimeNowUTC

func TimeNowUTC() time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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