Sign in
go
/
talks
/
ac00fecd60edfa06a543097a652efe7cda5c6258
/
.
/
2012
/
tutorial
/
main.go
blob: f6e12b7820eae3b24762f338d1de8ee3d0164697 [
file
] [
log
] [
blame
]
// +build 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)
}
}