zuiwuchang
zuiwuchang
#109 大量的 rand.Intn 調用在傳入非法參數時將引發 painc。但通常這是 rand.Intn 返回 0 而非 painc 可能會使 base64Captcha 庫更容易使用。這份 pull 將對 rand.Intn 的調用替換爲了下述代碼以避免 painc ``` func randIntn(n int) int { if n > 0 { return...
I have used goja deeply, and the biggest benefit it gives me is that Runtime.wrapReflectFunc can easily call go code (for example, calling the go standard library with js has...
Sometimes there is an evutil_socket_t fd coming from a connection outside of evhttp, but I want it to be handled by the evhttp. evhttp_serve is used to complete this function....