package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: May 5, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
pkg/diff
This package provides functionality for calculating the difference between two sets of data.
Responsibility
- Calculate the difference between two sets of data.
- Provide a clear and concise representation of the differences.
Scope
- Support different data types for comparison.
- Provide options for customizing the comparison process.
Gotchas
- Handling of edge cases, such as empty sets or sets with different sizes.
- Performance considerations when comparing large sets of data.
Test Suite Overview
The test suite includes unit tests for the core functionality of the package, including:
- Calculating the difference between two sets of data.
- Handling edge cases.
- Customizing the comparison process.
Documentation
¶
combinedHash returns the SHA256 hash of two byte slices
NOTE: hash(hash(a) + hash(b))
Source Files
¶
Click to show internal directories.
Click to hide internal directories.