url

package
v0.0.0-...-5f3cdcf Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2018 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCredentials

func LoadCredentials() (client *twittergo.Client, err error)

func ParseDuration

func ParseDuration(str string) time.Duration

Used to parse youtube's ISO 8601 durations https://en.wikipedia.org/wiki/ISO_8601#Durations

func ParseInt64

func ParseInt64(value string) int64

Types

type ChanPost

type ChanPost struct {
	Posts []struct {
		No  int    `json:"no"`
		Com string `json:"com"`
	} `json:"posts"`
}

4chan API thread structure https://github.com/4chan/4chan-API

type RedditComment

type RedditComment []struct {
	Data struct {
		Children []struct {
			Kind string `json:"kind"`
			Data struct {
				Body string `json:"body"`
			} `json:"data"`
		} `json:"children"`
	} `json:"data"`
}

Reddit API thread structure https://www.reddit.com/dev/api

Jump to

Keyboard shortcuts

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