I hereby claim:
- I am vyskocilm on github.
- I am vyskocilm (https://keybase.io/vyskocilm) on keybase.
- I have a public key ASCXoesMzFaReZpJHNkdpt2RvK6efXKCv-EQ-Ef-W_6_SQo
To claim this, I am signing this object:
package main | |
import ( | |
"context" | |
"log" | |
"os" | |
"os/signal" | |
"syscall" | |
"time" | |
) |
package main | |
import ( | |
"context" | |
"log" | |
"os" | |
"os/signal" | |
"sync" | |
"time" | |
) |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"github.com/cosmos72/gomacro/fast" | |
) | |
func RunGomacro(toeval string) float64 { | |
interp := fast.New() | |
vals, _ := interp.Eval(toeval) |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os/exec" | |
) | |
// stress zproc for https://github.com/zeromq/czmq/issues/2007 |
// | |
// simple net/http + cors.Cors integration | |
// vyskocilm.github.io/blog | |
// | |
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" |
// | |
// Stacking net/http handlers | |
// vyskocilm.github.io/blog | |
// | |
package main | |
import ( | |
"fmt" | |
"log" |
.
├── g
│ ├── cfg
│ │ ├── cfg.go
│ │ ├── cfg_test.go
│ │ ├── go.mod
│ │ └── testdata
│ ├── go.mod
│ └── lib.go
.
├── g
│ ├── cfg
│ │ ├── cfg.go
│ │ ├── cfg_test.go
│ │ └── testdata
│ └── lib.go
├── go.mod
├── go.sum
// Worker pool example with input and output channel and multiple workers | |
// solves the deadlock caused by the r chanel not read on time, so blocking all | |
// worker on ri <- v | |
package main | |
import ( | |
"fmt" | |
"time" | |
"sync" |