RelicOfTesla
eb9719c674
Must support Custom error handler. ( #752 )
...
* Custom error type.
* remove "github.com/pkg/errors" depend
* disable some Test Parallel
* fix test code in go 1.18
* golangcli-lint warning fix
---------
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr >
2026-01-08 18:07:00 +01:00
RelicOfTesla
8590d84fcd
Support Custom Assert ( #755 )
...
* custom Assert
* disable Test Parallel
* golangcli-lint warning fix
* Document custom handler for lo.Assert
Added a section on creating a custom handler for lo.Assert.
---------
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr >
2026-01-08 02:23:47 +01:00
Nathan Baulch
1b92b5c7db
lint: enable 7 more linters ( #686 )
...
* lint: enable and fix perfsprint issues
* lint: enable and fix nolintlint issues
* lint: enable and fix godot issues
* lint: enable and fix thelper issues
* lint: enable and fix tparallel issues
* lint: enable and fix paralleltest issues
* lint: enable and fix predeclared issues
2025-09-25 13:18:25 +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
49f24de919
style: merge assertion.go and errors.go
2025-06-01 16:19:29 +02:00
Nathan Baulch
db0f4d2171
Tidy up ( #519 )
2024-08-22 01:17:02 +02:00
VictorAssunc
640e00c286
chore: test coverage improvement ( #240 )
...
* chore: improves channel functions test coverage
* chore: improves errors functions test coverage
* chore: improves map functions test coverage
* chore: improves parallel slice functions test coverage
* chore: improves slice functions test coverage
* fix: uses atomic counter on parallel/slice_test
* Update channel_test.go
Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr >
2022-10-22 19:05:07 +02:00
Corentin Clabaut
8e8ccc1047
Add function Validate that creates an error when a condition is not met ( #221 )
2022-10-04 21:28:29 +02:00
Samuel Berthe
e2a5e3e251
doc(must): fix example
2022-10-04 20:16:04 +02:00
Samuel Berthe
bcb54ccf0b
Adding TryOr and TryOrX ( #229 )
...
feat: adding TryOr and TryOrX
2022-10-02 23:10:31 +02:00
Samuel Berthe
edda23923b
feat: adding ErrorsAs
2022-10-02 21:51:02 +02:00
Corentin Clabaut
3d6faf1096
Add context to Must panic message ( #140 )
2022-07-03 20:46:03 +02:00
wirekang
2d0a57d527
Fix Must to receives 'err any' #99
2022-04-22 02:24:22 +09:00
Samuel Berthe
986f172793
feat(must): adding must0, must1, must2, must3, must4, must5 and must6
2022-04-11 21:49:26 +02:00