numstr

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NumberString

type NumberString string

+kubebuilder:validation:Type="number"

func MustParse

func MustParse(s string) NumberString

func Parse

func Parse(s string) (NumberString, error)

func (*NumberString) Float64

func (r *NumberString) Float64() float64

func (*NumberString) MarshalJSON

func (r *NumberString) MarshalJSON() ([]byte, error)

func (*NumberString) String

func (r *NumberString) String() string

func (*NumberString) UnmarshalJSON

func (r *NumberString) UnmarshalJSON(bytes []byte) (err error)

Jump to

Keyboard shortcuts

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