snapshot

package
v0.0.60 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISnapShotType

type ISnapShotType interface{}

type SnapShot

type SnapShot[T ISnapShotType] struct {
	AttrsMod []diff.Changelog `json:"AttrsMod"`
	AttrsNew []diff.Changelog `json:"AttrsNew"`
	Filters  []string         `json:"-"`
}

func (*SnapShot[T]) CreateChangelog

func (ss *SnapShot[T]) CreateChangelog(pres, posts []T, f func(pre, post T) bool) (*string, error)

/////////////////////////

func (*SnapShot[T]) UnmarshalData

func (ss *SnapShot[T]) UnmarshalData(dataStrings []string) ([]T, error)

/////////////////////////

Jump to

Keyboard shortcuts

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