Luka Jajanidze
Luka Jajanidze
Hey @bashbunni @meowgorithm I would love to work on that. I just wrote my first test. You can review it here : https://github.com/charmbracelet/bubbletea/pull/356
NewRateLimiterMemoryStore documentation states example like that ```go Example (with 20 requests/sec): limiterStore := middleware.NewRateLimiterMemoryStore(20) ``` So if we pass float value like 0.5 in NewRateLimiterMemoryStore it should limit amount request...
From listed solutions ( - the docs explains how a fractional rate.Limit is handled - NewRateLimiterMemoryStore() only accepts integer values - the RateLimiter interprets a fractional rate.Limit correctly, e.g. a...
Correct, but reason we need to mock is utf8.DecodeRune() function since it requires utf8 (external) package
here I made pull request for this change: https://github.com/binwiederhier/pcopy/pull/93