createdat

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: CC0-1.0, CC0-1.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Len = 8

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	Val timestamp.T
}

func FromKey

func FromKey(k []byte) (p *T)

FromKey expects to find a datestamp in the 8 bytes before a serial in a key.

func New

func New(c timestamp.T) (p *T)

func (*T) Len

func (c *T) Len() int

func (*T) Read

func (c *T) Read(buf *bytes.Buffer) (el keys.Element)

func (*T) Write

func (c *T) Write(buf *bytes.Buffer)

Jump to

Keyboard shortcuts

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