Skip to content

Instantly share code, notes, and snippets.

View strickyak's full-sized avatar

Strick Yak strickyak

View GitHub Profile
package main
import (
"fmt"
"path/filepath"
)
func main() {
matches, _ := filepath.Glob("*")
for _, s := range matches {
@strickyak
strickyak / keybase.md
Created September 18, 2017 19:46
keybase.md

Keybase proof

I hereby claim:

  • I am strickyak on github.
  • I am strickyak (https://keybase.io/strickyak) on keybase.
  • I have a public key ASCDcXHheKx4blmxHL-J-kcmhpdRl82LBzpRW5kKUXiFHQo

To claim this, I am signing this object:

@strickyak
strickyak / gist:4201971
Created December 4, 2012 08:58
How to simulate classes and virtual methods in Golang.
/*
How to simulate classes and virtual methods in Go.
*/
package main
import . "fmt"
type A struct {
// Set My to outermost object (most derived class) after constructing.