util

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntValue

func IntValue(lit []byte) (int64, error)

UintValue will attempt to parse a byte-slice as a signed base-10 64-bit integer.

func RuneToString

func RuneToString(r rune) string

func RuneValue

func RuneValue(lit []byte) rune

RuneValue will convert the literal value of a scanned token to a rune.

func UintValue

func UintValue(lit []byte) (uint64, error)

UintValue will attempt to parse a byte-slice as an unsigned base-10 64-bit integer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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