Help us shape the future of Go! Take the 2026 Go Developer Survey

conversion

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToInt

func ToInt(value interface{}) (int, error)

ToInt converts an interface{} value to int interpreting strings and float values as base 10 integers

func ToInt64

func ToInt64(value interface{}) (int64, error)

ToInt64 converts an interface{} value to int64 interpreting strings and float values as base 10 integers

Types

This section is empty.

Jump to

Keyboard shortcuts

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