ddbtest

package
v0.0.0-...-b6a7f6c Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventBuilder

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

EventBuilder defines a minimal implementation of a ddb.Event

func New

func New() *EventBuilder

New creates a new EventBuilder

func (*EventBuilder) Build

func (b *EventBuilder) Build() (event ddb.Event, err error)

func (*EventBuilder) Insert

func (b *EventBuilder) Insert(newItem interface{}) *EventBuilder

func (*EventBuilder) Modify

func (b *EventBuilder) Modify(oldItem, newItem interface{}) *EventBuilder

func (*EventBuilder) Remove

func (b *EventBuilder) Remove(oldItem interface{}) *EventBuilder

Jump to

Keyboard shortcuts

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