safelong

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: BSD-3-Clause Imports: 3 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SafeLong

type SafeLong int64

func NewSafeLong

func NewSafeLong(val int64) (SafeLong, error)

func ParseSafeLong

func ParseSafeLong(s string) (SafeLong, error)

func (SafeLong) MarshalJSON

func (s SafeLong) MarshalJSON() ([]byte, error)

func (*SafeLong) UnmarshalJSON

func (s *SafeLong) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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