fastparse

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOverflow = errors.New("overflow")

Functions

func ParseFloat64

func ParseFloat64(s string) (float64, error)

ParseFloat64 parses floating-point number s.

It is equivalent to strconv.ParseFloat(s, 64) in case it succeeds, but on error it will return the best effort value of what it has parsed so far.

func ParseInt64

func ParseInt64(s string, base int) (int64, error)

ParseInt64 parses int64 number s.

It is equivalent to strconv.ParseInt(s, base, 64) in case it succeeds, but on error it will return the best effort value of what it has parsed so far.

func ParseUint64

func ParseUint64(s string, base int) (uint64, error)

func ParseUint64WithNeg added in v0.20.0

func ParseUint64WithNeg(s string, base int) (uint64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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