Commit Graph

16 Commits

Author SHA1 Message Date
Samuel Berthe
f3ee53b393 lint 💄 2024-08-18 21:30:09 +02:00
Samuel Berthe
0a145c7cc7 style: replace interface{} by any 2024-06-30 03:34:15 +02:00
d-enk
05a9bc93bd style: no extra any type parameter (#429) 2024-06-27 13:43:43 +02:00
Samuel Berthe
7887963db8 feat: name each callback/iteratee/predicate arguments in order to improve autocompletion
closes #242
2022-10-13 22:25:33 +02:00
Samuel Berthe
cce64116f4 lint 2022-10-06 23:15:50 +02:00
Samuel Berthe
c6b8b1e628 doc: adding examples 2022-10-06 22:46:47 +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
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
Samuel Berthe
c8a13bbf49 doc: explain custom panic message for lo.Must helpers 2022-07-03 20:59:32 +02:00
Corentin Clabaut
3d6faf1096 Add context to Must panic message (#140) 2022-07-03 20:46:03 +02:00
Samuel Berthe
d54996c157 feat(lo.Try0): remove type definition 2022-05-02 14:51:02 +02:00
wirekang
a894d7cd5c Merge branch 'master' of https://github.com/samber/lo into feat-must-any 2022-04-22 19:33:38 +09:00
wirekang
6d64c8b195 Fix typo 2022-04-22 18:51:59 +09: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