metadata

package module
v0.0.0-...-dd2a0d5 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: Apache-2.0 Imports: 1 Imported by: 9

README

MOVED

This repository has moved to https://g.fc.run/patchy/metadata


Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearMetadata

func ClearMetadata(obj any)

func HasMetadata

func HasMetadata(obj any) bool

func SetMetadata

func SetMetadata(obj any, md *Metadata)

Types

type Metadata

type Metadata struct {
	ID         string `json:"id"`
	ETag       string `json:"etag"`
	Generation int64  `json:"generation"`
}

func GetMetadata

func GetMetadata(obj any) *Metadata

Jump to

Keyboard shortcuts

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