types

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Size

type Size int64

The value is in bytes.

func (*Size) Parse

func (s *Size) Parse(value string) error

Parse a string into number of bytes stored in a int64

func (Size) String

func (s Size) String() string

func (*Size) UnmarshalText

func (s *Size) UnmarshalText(text []byte) error

func (*Size) UnmarshalYAML

func (s *Size) UnmarshalYAML(value *yaml.Node) error

Jump to

Keyboard shortcuts

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