Skip to content

Releases: tabratowski/goexperiments

Timeout using time after && mutex

Choose a tag to compare

@tabratowski tabratowski released this 31 May 12:36
ad9ffff

Previous version was cancelling ctx even if func didn't timeout.

Added generic validation lib

Choose a tag to compare

@tabratowski tabratowski released this 26 May 07:26
aa012a7

Experiment with approach to add generic validation lib - it should not compile if field type is not compatible with given rule
in example string can have minLength rule, but cannot have min rule.
Lib is flexible so you can add your own more complex validators

Experiment

Experiment Pre-release
Pre-release

Choose a tag to compare

@tabratowski tabratowski released this 25 May 15:34

This is only experiment, use at your own risk