Sign in
go
/
website
/
f2bd60d5356eaae86b59abb498b73ff73a34df94
/
.
/
_content
/
talks
/
2012
/
tutorial
/
main.go
blob: 10fcad6b533b5b0bc600a38bf80dc046007d7e4f [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
import (
"fmt"
"github.com/nf/reddit"
// HL
"log"
)
func main() {
items, err := reddit.Get("golang")
// HL
if err != nil {
log.Fatal(err)
}
for _, item := range items {
fmt.Println(item)
}
}