redditgo

package
v0.0.0-...-d9ae166 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

The part which deals with download images and storing them on a local drive

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download_images

func Download_images(url string, title string, sema chan bool)

Types

type Item

type Item struct {
	Title   string
	URL     string
	Is_self bool
}

func Decode

func Decode(subreddit string) ([]Item, error)

func (Item) String

func (i Item) String() string

type Response

type Response struct {
	Data struct {
		Children []struct {
			Data Item
		}
		After  string
		Before string
	}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL