package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Jun 28, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package convert contains functions to convert interface{} values into various other types
func ToBool(v interface{}) bool
ToBool tries to convert v into an int
ToFloat tries to convert v into a float
func ToInt(v interface{}) (int, bool)
ToInt tries to convert v into an int
Source Files
¶
Click to show internal directories.
Click to hide internal directories.