conv

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2025 License: MIT Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseBool

func ParseBool(value any) bool

ParseBool 將任意資料轉換為 bool,錯誤時直接 panic

func ParseF32

func ParseF32(value any) float32

ParseF32 將任意資料轉換為 float32,錯誤時直接 panic

func ParseF64

func ParseF64(value any) float64

ParseF64 將任意資料轉換為 float64,錯誤時直接 panic

func ParseInt

func ParseInt(value any) int

ParseInt 將任意資料轉換為 int,錯誤時直接 panic

func ToString

func ToString(value any) string

ToString 將任意資料轉換為字串,錯誤時直接 panic

Types

This section is empty.

Jump to

Keyboard shortcuts

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