diff options
| author | lost+skunk <[email protected]> | 2024-06-05 14:32:40 +0300 |
|---|---|---|
| committer | lost+skunk <[email protected]> | 2024-06-05 14:32:40 +0300 |
| commit | 9b850886656bb2ecf192e6d9df63ea07d175de06 (patch) | |
| tree | 342e0ab5a0bab961f3496be3ac14fe9909a3b977 /examples | |
| parent | 66ab740d7fec430d97f69ab0ed52ba0f01973d46 (diff) | |
| download | devianter-9b850886656bb2ecf192e6d9df63ea07d175de06.tar.gz devianter-9b850886656bb2ecf192e6d9df63ea07d175de06.tar.bz2 devianter-9b850886656bb2ecf192e6d9df63ea07d175de06.zip | |
User implementation and particaly groups
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/post.go | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/examples/post.go b/examples/post.go deleted file mode 100644 index 2789c46..0000000 --- a/examples/post.go +++ /dev/null @@ -1,25 +0,0 @@ -package main - -import ( - "git.macaw.me/skunky/devianter" -) - -func main() { - id := "973578309" - d := devianter.Deviation(id, "Thrumyeye") - - println("Post Name:", d.Deviation.Title, "\nIMG url:", d.IMG) - - c := devianter.Comments(id, "", 0, 1) - println("\n\nPost Comments:", c.Total) - - for _, a := range c.Thread { - if a.User.IsBanned { - a.User.Username += " [v bane]" - } - println(a.User.Username+":", a.Comment) - } - - search := devianter.Search("skunk", "2", 'a') - println(search.Total, search.Pages) -} |
