Samuel Berthe
18c5a43f79
Style/rename internal rand ( #701 )
...
* style: rename internal/rand package to internal/xrand
* doc: internal package readme
* oops
2025-10-05 00:42:41 +02:00
Nathan Baulch
f5aac81cc0
lint: enable gofumpt extra rules ( #690 )
...
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr >
2025-09-26 13:32:59 +02:00
Nathan Baulch
7170719ec0
lint: unit test improvements ( #674 )
...
* lint: pin golangci-lint version
* lint: use is.Empty where possible
* lint: use is.ElementsMatch for unsorted slices
* lint: remove redundant is.Len assertions
* lint: use is.Zero to assert zero structs
* fix: misc assertion issues
* lint: more consistent test case pattern
* fix: reversed expect/actual assert values
* lint: use is.ErrorIs and is.EqualError for errors
* Update golangci-lint version in workflow
---------
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr >
2025-09-24 21:02:52 +02:00
Nathan Baulch
3e11f11781
docs: grammar improvements ( #673 )
...
* lint: pin golangci-lint version
* docs: grammar fixes
* docs: remove "truthy" terminology
* docs: remove "array" terminology
* docs: grammar fixes
* Update .github/workflows/lint.yml
---------
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr >
2025-09-24 20:59:41 +02:00
Samuel Berthe
3bc887c57c
doc: adding go playground examples
2025-09-23 14:54:30 +02:00
Samuel Berthe
9c8308ffda
Style add golangci config ( #670 )
...
* style(lint): gofumpt
* style(lint): errcheck
* style(lint): revive
* style(lint): gocritic
* style(lint): forcetypeassert
* style(lint): add .golangci.yml
* oops
2025-09-20 01:37:51 +02:00
Nathan Baulch
76b76a7adb
lint: Apply testifylint linter recommendations ( #669 )
2025-09-20 00:50:00 +02:00
Samuel Berthe
c7a67cad51
feat(mutable): adding Map, MapI, Filter, FilterI ( #577 )
...
* feat(mutable): adding Map, MapI, Filter, FilterI
* Update README.md
* doc: add doc and examples for lom.Filter
* oops
2025-04-26 18:54:36 +02:00
shunsuke takii
fe0618f731
docs: modify mutable example docs ( #595 )
...
docs: modify mutable example docs
2025-02-22 20:33:42 +01:00
Samuel Berthe
699707a0db
feat(mutable): shuffle
2025-01-26 00:02:51 +01:00
Samuel Berthe
677bfd183b
feat: deprecate lo.Reverse and move it to lom.Reverse ( #576 )
2025-01-25 18:26:52 +01:00