differ

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package differ adapts native godiff comparisons to the public handler contract.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service owns the native comparator registry. Applications can share a service through handler.Capabilities; comparison options and results are invocation-local.

func New

func New() *Service

func (*Service) Diff

func (s *Service) Diff(ctx context.Context, from, to any, opts ...xdiffer.Option) (*xdiffer.ChangeLog, error)

Jump to

Keyboard shortcuts

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