prysm-pulse/shared/slices
ratikesh9 99def96cc2 Generic Slices library to support different data types (#1219)
* Generic Slices library to support different data types
** Main module added under slice_generic.go
** Test cases passing
** Modified Bazel Build accordingly to run test suite

* Periods added for the generic slice functions

* Build through gazelle & linter fixes

* Generic library using reflection for set operations

* Improvement in test cases including float 32

* Error Handling using generic error message for unsupported type

* Linter fixes and including more test cases

* Linter fixes

* Linter fixes in Errof function & increasing test coverage

* Test cases corrections

*  Benchmark test added for reflection & non reflection functions
Redundancy removed for various data type
Panic removed from the code & error handled

* documnet linter error removed

* Benchmark done with SSZ for reflection and non-reflection based functions

* Bazel build file updated

* gofmt & golinter error fixes

* Added data type support for uint32,int32,byte,int64,uint64

* Removed the redundant code and condition of error handled

* changes in linter & fixes

* Linter fixes

* Individual error handled for slices

* Removed unwanted variable t

* linter fixes

* Removed unwanted conditions

* linter & test cases fix

* Linter fixes in slice generic

* rebuilding with test
2019-01-13 15:57:39 +08:00
..
BUILD.bazel Generic Slices library to support different data types (#1219) 2019-01-13 15:57:39 +08:00
doc.go Generic Slices library to support different data types (#1219) 2019-01-13 15:57:39 +08:00
slice_generic_test.go Generic Slices library to support different data types (#1219) 2019-01-13 15:57:39 +08:00
slice_generic.go Generic Slices library to support different data types (#1219) 2019-01-13 15:57:39 +08:00
slice_test.go Generic Slices library to support different data types (#1219) 2019-01-13 15:57:39 +08:00
slice.go Generic Slices library to support different data types (#1219) 2019-01-13 15:57:39 +08:00