parse

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package parse exposes functions to parse strings into Go types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(s string) (uint64, error)

Bytes parses the given string and returns the number of bytes it represents in a similar fashion to 'ParseDuration'.

NOTE: When no unit suffix is provided, defaults to parsing the number of bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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