Commit Graph
16 Commits
Author SHA1 Message Date
dudaodong 5c580ed013 test: update test for Schedule 2024-08-09 15:00:19 +08:00
dudaodong 0f9764f41e feat: add Throttle function 2024-08-09 14:28:15 +08:00
dudaodong 0b29f0520d feat: add Debounce function 2024-08-08 15:19:38 +08:00
donutloop e138043289 Function: AcceptIf (#198)
AcceptIf returns another function of the same signature as the apply function but also includes a bool value to indicate success or failure.
A predicate function that takes an argument of type T and returns a bool.
An apply function that also takes an argument of type T and returns a modified value of the same type.
2024-03-04 10:00:43 +08:00
dudaodong e9380a3d9f fix: fix unused parameters vet issue 2024-03-01 10:05:28 +08:00
dudaodong ab364744b6 test: add parallel running for all unit test functions 2023-06-29 14:49:28 +08:00
dudaodong be444f521d test: add examples for function package 2023-01-06 16:12:44 +08:00
dudaodong b8563ed646 feat: add Pipeline function 2022-10-15 12:29:47 +08:00
dudaodong 741af66404 test: add todo fix for TestSchedule 2022-07-22 10:30:44 +08:00
dudaodong 50c6e51393 upgrade go module v2 2022-03-17 10:57:35 +08:00
dudaodong c939b26cb8 refactor: interface{} -> any 2022-03-16 18:41:40 +08:00
dudaodong a3399503f7 feat: add Debounced func 2022-01-21 17:13:31 +08:00
dudaodong 1199c30ef3 refactor: rewrite all unit test functions with assert 2022-01-09 15:48:29 +08:00
dudaodong 60f3a72c88 refactor: update Compose func in function.go 2021-12-14 10:29:53 +08:00
dudaodong d1b74cfcfb feat: add Compose in function.go 2021-12-13 20:15:34 +08:00
dudaodong 72a89be8c1 feat: add function package for funcational programming 2021-12-11 13:30:11 +08:00