Skip to content

Instantly share code, notes, and snippets.

@richo
Created April 11, 2015 05:04
Show Gist options
  • Select an option

  • Save richo/bff053386fbad923ecf9 to your computer and use it in GitHub Desktop.

Select an option

Save richo/bff053386fbad923ecf9 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
)
const foo = 1
var bar = "hi"
// func <T>test() {
// fmt.Println("hi")
// }
func <T>thing(s string) {
fmt.Println("Boop", s)
}
func main() {
thing("hi")
fmt.Println("hi")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment