sdparse

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package sdparse 将字符串解析成常用类型

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(s string) (bool, error)

func BoolDef

func BoolDef(s string, def bool) bool

func Float64

func Float64(s string) (float64, error)

func Float64Def

func Float64Def(s string, def float64) float64

func Int

func Int(s string) (int, error)

func Int64

func Int64(s string) (int64, error)

func Int64Def

func Int64Def(s string, def int64) int64

func IntDef

func IntDef(s string, def int) int

func Time

func Time(s string) (time.Time, error)

func TimeDef

func TimeDef(s string, def time.Time) time.Time

func Uint

func Uint(s string) (uint, error)

func Uint64

func Uint64(s string) (uint64, error)

func Uint64Def

func Uint64Def(s string, def uint64) uint64

func UintDef

func UintDef(s string, def uint) uint

Types

This section is empty.

Jump to

Keyboard shortcuts

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