Minimal implementation of testify-like library for internal use in Cinode.
It has the following goals over the original testify one:
- No dependencies - it can not use external modules and the use of standard packages is reduced - no i/o, no system-specific code
- Additional type safety through generics - where possible dynamic function arguments passed through
anyare replaced by a typed version - Only bare-minimum set of functions - only the most necessary assertions are left, no printf-like messages etc.
The interface of picotestify is a subset of the original testify one and thus switching to the original testify library should be easily achievable through go.mod's rewrite option.
A set of small utilities that are shared across other modules.
- Name - identification of the specific blob instance
- Type - blob type, associated with blob's name
- Key - encryption keys for encrypting and decryption blob's data
- AuthInfo - data allowing blob update after it's created (for dynamic blobs)