start new:
tmux
start new with session name:
tmux new -s myname
| // | |
| // Companion code to https://medium.com/statuscode/pipeline-patterns-in-go-a37bb3a7e61d | |
| // | |
| // To run: | |
| // go get github.com/pkg/errors | |
| // go run -race pipeline_demo.go | |
| // | |
| package main |
| # To run this file you will need to open Powershell as administrator and first run: | |
| # Set-ExecutionPolicy Unrestricted | |
| # Then source this script by running: | |
| # . .\install_python.ps1 | |
| $save_dir=Resolve-Path ~/Downloads | |
| $project_dir = "C:\Projects" | |
| $virtualenv_dir = $project_dir + "\virtualenvs" | |
| $client = New-Object System.Net.WebClient |
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| type Foo struct { | |
| FirstName string `tag_name:"tag 1"` | |
| LastName string `tag_name:"tag 2"` |