tools

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DateFormat = "January 02, 2006 at 03:04:05PM -0700"

Variables

View Source
var (
	MinTime = time.Unix(-2208988800, 0) // Jan 1, 1900
	MaxTime = MinTime.Add(1<<63 - 1)
)

These are somewhat arbitrary, but reasonably useful min and max times

Functions

func ParseBytes

func ParseBytes(in []byte) any

func ParseDate

func ParseDate(in string) (t time.Time, err error)

func ParseString

func ParseString(in string) any

func WriteValue added in v0.0.2

func WriteValue(buff *bytes.Buffer, val any) (n int, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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