Go library for accessing the Reddit API.
Go to file
Vartan Benohanian 2ea893ab16 Use individual structs for services
Made it this way so that I can use the PostAndCommentService as a child
of the PostService and CommentService.

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
2020-07-21 23:05:24 -04:00
testdata Add tests for More and Random methods 2020-07-20 22:47:59 -04:00
.gitignore
account_test.go Change readFileContents method signature 2020-07-21 21:56:32 -04:00
account.go Use individual structs for services 2020-07-21 23:05:24 -04:00
comment_test.go Use individual structs for services 2020-07-21 23:05:24 -04:00
comment.go Use individual structs for services 2020-07-21 23:05:24 -04:00
errors.go
flair_test.go Change readFileContents method signature 2020-07-21 21:56:32 -04:00
flair.go Use individual structs for services 2020-07-21 23:05:24 -04:00
go.mod
go.sum
LICENSE
listings.go Use individual structs for services 2020-07-21 23:05:24 -04:00
Makefile
moderation_test.go Change readFileContents method signature 2020-07-21 21:56:32 -04:00
moderation.go Use individual structs for services 2020-07-21 23:05:24 -04:00
multi_test.go Change readFileContents method signature 2020-07-21 21:56:32 -04:00
multi.go Use individual structs for services 2020-07-21 23:05:24 -04:00
post_test.go Use individual structs for services 2020-07-21 23:05:24 -04:00
post-and-comment.go Use individual structs for services 2020-07-21 23:05:24 -04:00
post.go Use individual structs for services 2020-07-21 23:05:24 -04:00
private-messages.go
README.md
reddit_oauth.go Rename files 2020-07-21 09:27:34 -04:00
reddit_options_test.go Rename files 2020-07-21 09:27:34 -04:00
reddit_options.go Rename files 2020-07-21 09:27:34 -04:00
reddit_test.go Use individual structs for services 2020-07-21 23:05:24 -04:00
reddit.go Use individual structs for services 2020-07-21 23:05:24 -04:00
search.go Use individual structs for services 2020-07-21 23:05:24 -04:00
subreddit_test.go Change readFileContents method signature 2020-07-21 21:56:32 -04:00
subreddit.go Use individual structs for services 2020-07-21 23:05:24 -04:00
things.go
timestamp_test.go
timestamp.go
user_test.go Change readFileContents method signature 2020-07-21 21:56:32 -04:00
user.go Use individual structs for services 2020-07-21 23:05:24 -04:00
util.go

go-reddit

go-reddit is a Go client library for accessing the Reddit API.

Install

To get a specific version from the list of versions:

go get github.com/vartanbeno/go-reddit@vX.Y.Z

Or for the latest version:

go get github.com/vartanbeno/go-reddit