convert

package
v0.91.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 0 Imported by: 9

Documentation

Overview

Package convert provides functions for type conversion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToBool

func ToBool(v interface{}) bool

ToBool converts it's argument to a Boolean.

func ToByteArray

func ToByteArray(v interface{}) []byte

ToByteArray converts it's argument to a ByteArray.

func ToInteger

func ToInteger(v interface{}) int64

ToInteger converts it's argument to an Integer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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