I hereby claim:
- I am sabzil on github.
- I am sabzil (https://keybase.io/sabzil) on keybase.
- I have a public key ASAeYF-eGXgnxliQHgOGPcfg9jRYOlxdshQt-eSXbEBzdgo
To claim this, I am signing this object:
#!/bin/bash | |
rm cscope.files cscope.out | |
if ["$GOROOT" = ""]; then | |
echo "GOROOT is not set" | |
GOROOT=`go env | grep "GOROOT" | cut -d "=" -f2` | |
GOROOT=${GOROOT#\"} | |
GOROOT=${GOROOT%\"} | |
fi |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"flag" | |
"fmt" | |
) | |
func main() { | |
var a *string = flag.String("a", "a", "a argument") |
package main | |
import "fmt" | |
const title string = "this is title" | |
func display() { | |
fmt.Println(title) | |
} |
package parallel | |
import ( | |
"testing" | |
"time" | |
) | |
func TestFirst(t *testing.T) { | |
t.Parallel() | |
time.Sleep(2000) |
package main | |
import ( | |
"fmt" | |
) | |
type Painter interface { | |
Draw() | |
} |
// +build !windows | |
package calc | |
func Add(x, y int) int { | |
return x + y | |
} |
package main | |
import ( | |
"bufio" | |
"github.com/oliamb/cutter" | |
"image" | |
"image/png" | |
"os" | |
) |
package main | |
import ( | |
"regexp" | |
"fmt" | |
) | |
func main() { | |
data := []byte("<![CDATA[류성룡과 징비록 이야기]]") | |
regEx := regexp.MustCompile("&#(?<Value>[a-zA-Z0-9]{5});") |
package Some | |
type Driver interface { | |
Drive(from, to int) | |
} | |
func NewDriver() Driver { | |
return &Human{} | |
} |