Documentation ¶ Index ¶ Variables type Differ func (d Differ) Diff(ctx context.Context, actual, desired any) (*structuredreporting.Diff, []string, error) Constants ¶ This section is empty. Variables ¶ View Source var GoogleAPI = Differ{ // contains filtered or unexported fields } Functions ¶ This section is empty. Types ¶ type Differ ¶ type Differ struct { // contains filtered or unexported fields } func (Differ) Diff ¶ func (d Differ) Diff(ctx context.Context, actual, desired any) (*structuredreporting.Diff, []string, error) Diff compares top-level fields of actual and desired structs (must be pointers to structs) using reflection and reflect.DeepEqual, skipping configured skipFields. Source Files ¶ View all Source files diffs.go Click to show internal directories. Click to hide internal directories.