package
0.0.0-20210627221658-07365c2edb0d
Repository: https://github.com/timoth-y/chainmetric-core.git
Documentation: pkg.go.dev

# Functions

BoolPointer returns bool pointer.
ContainsString checks whether the `values` string slice contains `value`.
DurationPointer returns time.Duration pointer.
Float64Pointer returns float64 pointer.
FormCompositeKey provides composite key for specified `objectType` by combining the given `attributes`.
Hash calculates hash-sum for the given `value` by encrypting it with FNV-1A algorithm.
Int64Pointer returns int64 pointer.
IntPointer returns int pointer.
MustEncode tries to serialize object without error, otherwise it panics.
Prettify returns a JSON-like properly indented string representation of objects.
SplitCompositeKey retrieves object type and attributes from `compositeKey`.
StringPointer returns string pointer.
Uint64Pointer returns uint64 pointer.