Skip to content

cinode/go-common

Repository files navigation

Cinode - golang - common utilities

picotestify

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 any are 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.

cutl - Cinode Utilities

A set of small utilities that are shared across other modules.

blob - type-safe wrappers around various blob-related data

  • 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)

About

Common go code shared by other modules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages