multirun

package
v5.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package multirun holds two types generated by two separate deep-gen runs over the same package — the documented workflow for splitting generation. Both types carry map fields; a shared package-level helper emitted by each run used to collide. The two checked-in files compiling together is the regression guard.

Code generated by deep-gen. DO NOT EDIT.

Code generated by deep-gen. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alpha

type Alpha struct {
	M map[string]int `json:"m"`
}

func (*Alpha) Clone

func (t *Alpha) Clone() *Alpha

Clone returns a deep copy of t.

func (*Alpha) Diff

func (t *Alpha) Diff(other *Alpha) deep.Patch[Alpha]

Diff compares t with other and returns a Patch.

func (*Alpha) Equal

func (t *Alpha) Equal(other *Alpha) bool

Equal returns true if t and other are deeply equal.

func (*Alpha) Patch

func (t *Alpha) Patch(p deep.Patch[Alpha], logger *slog.Logger) error

Patch applies p to t using the generated fast path.

type Beta

type Beta struct {
	M map[string]string `json:"m"`
}

func (*Beta) Clone

func (t *Beta) Clone() *Beta

Clone returns a deep copy of t.

func (*Beta) Diff

func (t *Beta) Diff(other *Beta) deep.Patch[Beta]

Diff compares t with other and returns a Patch.

func (*Beta) Equal

func (t *Beta) Equal(other *Beta) bool

Equal returns true if t and other are deeply equal.

func (*Beta) Patch

func (t *Beta) Patch(p deep.Patch[Beta], logger *slog.Logger) error

Patch applies p to t using the generated fast path.

Jump to

Keyboard shortcuts

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