I hereby claim:
- I am udhos on github.
- I am udhos (https://keybase.io/udhos) on keybase.
- I have a public key ASCZ-_guQCK6aODCpx8m5xKJzqrRZK8jFtlebkHc4wpScQo
To claim this, I am signing this object:
| // A small SSH daemon providing bash sessions | |
| // | |
| // Server: | |
| // cd my/new/dir/ | |
| // #generate server keypair | |
| // ssh-keygen -t rsa | |
| // go get -v . | |
| // go run sshd.go | |
| // | |
| // Client: |
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "log" | |
| "net/http" | |
| "os" | |
| "runtime" | |
| "time" |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "bytes" | |
| "encoding/gob" | |
| "fmt" | |
| ) | |
| type MyFace interface { | |
| A() |
| package main | |
| import ( | |
| "errors" | |
| "runtime" | |
| "unsafe" | |
| "golang.org/x/mobile/app" | |
| "golang.org/x/mobile/event/lifecycle" | |
| "golang.org/x/mobile/event/paint" |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| type T struct { | |
| } | |
| func main() { |
Here's the canonical TOML example from the TOML README, and a YAML version of the same. Which looks nicer?
|
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "net" | |
| ) | |
| func main() { | |
| testNext("foo", "bar") |
| package main | |
| import ( | |
| "net" | |
| "os/exec" | |
| "github.com/k0kubun/pp" | |
| ) | |
| func Hosts(cidr string) ([]string, error) { |
| {"hola":"mundo","number":1} |