Skip to content

Instantly share code, notes, and snippets.

View jakelacey2012's full-sized avatar
🐭
Happy Days

Jake Lacey jakelacey2012

🐭
Happy Days
View GitHub Profile
@jakelacey2012
jakelacey2012 / concurrent.go
Created December 16, 2017 14:11
go example of blocking buffered channels in go
package main
import "fmt"
import "time"
func write(channel chan int) {
for i := 0; i < 5; i++ {
channel <- i
fmt.Println("successfully wrote", i, "to channel")
}
@jakelacey2012
jakelacey2012 / main.go
Created May 26, 2018 18:12
ml-go-jff-eps1
package main
import (
"bufio"
"fmt"
"image/color"
"log"
"os"
"gonum.org/v1/plot"
package main
import (
"net/http"
"github.com/labstack/echo"
"github.com/labstack/echo/middleware"
)
type React struct {
CoenraadS.bracket-pair-colorizer
dracula-theme.theme-dracula
eamodio.gitlens
esbenp.prettier-vscode
kalitaalexey.vscode-rust
ms-python.python
ms-vscode.Go
ms-vsliveshare.vsliveshare
PeterJausovec.vscode-docker
rust-lang.rust