dto

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KVToModel

func KVToModel[V any](kv KV) (model.KVPair[V], error)

Types

type KV

type KV struct {
	Key          string `json:"key"`
	ValueB64     string `json:"value"`
	ModifiedUnix int64  `json:"modified"`
}

func NewKV

func NewKV[V any](kvp model.KVPair[V]) (KV, error)

Jump to

Keyboard shortcuts

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