tm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 1 Imported by: 0

README

Time MetaData

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeMetadata

type TimeMetadata struct {
	// contains filtered or unexported fields
}

func New

func New() *TimeMetadata

New creates a new Time Meta-Data with 'Creation Time' Field filled with the current Time.

func (TimeMetadata) GetCreationTime

func (tmd TimeMetadata) GetCreationTime() int64

GetCreationTime returns the 'Creation Time' Field of the Time Meta-Data Object.

func (TimeMetadata) GetUpdateTime

func (tmd TimeMetadata) GetUpdateTime() int64

GetUpdateTime returns the 'Update Time' Field of the Time Meta-Data Object.

func (*TimeMetadata) Update

func (tmd *TimeMetadata) Update()

Update updates the 'Update Time' Field of the Time Meta-Data Object using the current Time.

Jump to

Keyboard shortcuts

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