collection is package for golang basic type slices. The defined collection functions like PHP.
The package is based on go generate
.
Important: currently,here is develop stage,don't used for production
- Chunk
- Diff
- Fill
- Filter
- Intersect
- Pad
- Pop
- Product
- Push
- Rand
- Reduce
- Replace
- Reverse
- Search
- Shift
- Sum
- Unique
- int
- int8
- int16
- int32
- int64
- uint
- uint8
- uint16
- uint32
- uint64
- float32
- float64
- byte
- bool
- string
- Unit Test
- more collection functions
- more map functions
- more other php functions.