Sign in
go
/
website
/
feb9e77f0d94038e38181bdfcd6514a2d118c563
/
.
/
_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)
}
}