tid

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package tid provides functions for working with TIDs (timestamp identifiers) in AT Protocol.

For more details, see https://atproto.com/specs/tid.

Index

Constants

View Source
const ATProtoTimeFormat = "2006-01-02T15:04:05.999999Z"
View Source
const ATProtoTimeSecondsFormat = "2006-01-02T15:04:05Z"

Variables

This section is empty.

Functions

func FromString

func FromString(s string, clockid uint16) (string, error)

func Offset

func Offset(t string, i uint16) string

func ParseTID

func ParseTID(tid string) (time.Time, uint16, error)

func TID

func TID(t time.Time, clockid uint16) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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