forked from TrueCloudLab/neoneo-go
18 lines
385 B
Go
18 lines
385 B
Go
|
// Package convert provides functions for type conversion.
|
||
|
package convert
|
||
|
|
||
|
// ToInteger converts it's argument to an Integer.
|
||
|
func ToInteger(v interface{}) int64 {
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
// ToByteArray converts it's argument to a ByteArray.
|
||
|
func ToByteArray(v interface{}) []byte {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// ToBool converts it's argument to a Boolean.
|
||
|
func ToBool(v interface{}) bool {
|
||
|
return false
|
||
|
}
|