Documentation
¶
Index ¶
- func Bool(data bool) *bool
- func BoolUnref(b *bool) bool
- func Float64(data float64) *float64
- func Int(data int) *int
- func Int64(data int64) *int64
- func IntToHex(num int64) []byte
- func IntUnref(i *int) int
- func PrintJSON(data interface{}) string
- func String(data string) *string
- func StringUnref(s *string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntUnref ¶
IntUnref returns int pointer referenced value, in case pointer is nil, it returns default int value 0.
func PrintJSON ¶
func PrintJSON(data interface{}) string
PrintJSON marshals value to json and returns result. If error occurs it is being skipped.
func StringUnref ¶
StringUnref returns empty string if argument is nil, otherwise it returns string value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.