shared

package
v0.0.0-...-ebc7474 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record map[string]any

func (*Record) CleanRecord

func (r *Record) CleanRecord(ignoredKeys []string) Record

cleanRecord removes ignored keys from the record

func (*Record) ComputeDiff

func (r *Record) ComputeDiff(common map[string]any) map[string]any

computeDiff finds values in the record that are not in the common subset

func (*Record) GetMergedKeys

func (r *Record) GetMergedKeys(keys []string) map[string]any

getMergedKeys retrieves merge keys from a record

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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