Skip to content

Instantly share code, notes, and snippets.

@relrod
Created January 10, 2010 05:02
Show Gist options
  • Save relrod/273340 to your computer and use it in GitHub Desktop.
Save relrod/273340 to your computer and use it in GitHub Desktop.
// vim: ft=go
package main
func dp2jekyll(dottedpairs []string) string {
return dottedpairs[0] + ": " + dottedpairs[1]
}
func main() {
println(dp2jekyll([]string{"a","b"}))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment