gluetimestamp

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package gluetimestamp handles encoding/decoding of timestamp values for AWS glue.

Index

Constants

View Source
const (
	// We want our output JSON timestamps to be: YYYY-MM-DD HH:MM:SS.fffffffff
	// https://aws.amazon.com/premiumsupport/knowledge-center/query-table-athena-timestamp-empty/
	Layout     = `2006-01-02 15:04:05.000000000`
	LayoutJSON = `"` + Layout + `"`
)

Variables

This section is empty.

Functions

func TimeEncoder

func TimeEncoder() tcodec.TimeEncoder

TimeEncoder returns a time encoder all timestamps to be Glue format and UTC.

Types

This section is empty.

Jump to

Keyboard shortcuts

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