Commit Graph

37 Commits

Author SHA1 Message Date
f7d3dab036 Move examples to examples directory 2023-01-08 00:47:32 -08:00
d4c5776790 Replace panics with error logs 2023-01-07 15:25:18 -08:00
6465ee25bc Add generation instructions to README 2023-01-07 15:15:49 -08:00
9788468c0a Add comments containing source file to generated files 2023-01-07 15:05:40 -08:00
6f5a84c24b Add special case for 'Crud', and transform enum and struct type names 2023-01-07 14:54:04 -08:00
2e4f4281de Merge branch 'master' of ssh://192.168.100.62:2222/Arsen6331/go-lemmy 2023-01-07 14:48:15 -08:00
b32e07b887 Regenerate code 2023-01-07 14:45:01 -08:00
862bcd5164 Add special cases for 'jwt' and 'crud' 2023-01-07 14:42:57 -08:00
8e0208dec2 Add header comment to generated files 2023-01-07 14:40:18 -08:00
e5092d3898 Update 'go.mod' 2023-01-06 02:58:39 +00:00
754cfa602c Remove debug code 2023-01-05 13:46:07 -08:00
0942490238 Add new LemmyTime type and remove omitempty from json tag 2023-01-05 13:42:24 -08:00
4ecce09b73 Add Operation interface 2023-01-05 13:17:10 -08:00
cf871efc23 Add IsOneOf to websocket message 2023-01-05 13:13:10 -08:00
cdd67e35a3 Use correct type for enum generation 2023-01-05 13:02:11 -08:00
7459b363f6 Use autogenerated bindings for Lemmy 0.16.7 2023-01-05 12:51:45 -08:00
e097e6c8b5 Add doc comments 2022-12-13 10:49:58 -08:00
92b96981e2 Disable recws as it was causing problems 2022-12-13 01:09:43 -08:00
b38c6b0a54 Add support for connection handlers 2022-12-12 18:36:56 -08:00
ce8f58ed2d Update go.mod 2022-12-12 18:23:20 -08:00
a4a015a4cc Add login support for WebSocket API 2022-12-12 18:12:22 -08:00
a90e43691d Add WebSocket types 2022-12-12 18:11:57 -08:00
54c27ff977 Add support for websocket api 2022-12-12 17:35:41 -08:00
6074dcd419 Switch user operations to string type 2022-12-12 16:08:41 -08:00
7fc04591ba Check response status code more strictly 2022-12-10 15:40:52 -08:00
519c58f847 Remove omitempty from json struct tags 2022-12-10 15:33:08 -08:00
a9f1b2d3bd Remove unused dependency from go.mod 2022-12-10 15:19:25 -08:00
ba705b25f7 Fix setAuth() when field is of type Optional[string] 2022-12-10 15:17:18 -08:00
6ea2a3bf54 Fix Subscribed fields 2022-12-10 14:56:20 -08:00
7c15588651 Add nil check to setAuth() 2022-12-10 12:42:27 -08:00
9beccacda1 Remove List prefixes to match naming of other functions 2022-12-10 12:15:14 -08:00
eaebd96419 Rename Q field to Query 2022-12-10 12:10:34 -08:00
61030d84a1 Remove duplicate MarkCommentReplyAsRead 2022-12-10 12:07:30 -08:00
a9c51dba33 Add search endpoint 2022-12-10 12:07:19 -08:00
c9db49c367 Add Go Reference badge to README 2022-12-10 17:52:09 +00:00
2dbc8e9a85 Add GPLv3 license 2022-12-10 09:18:40 -08:00
f29641ae13 Initial Commit 2022-12-10 09:17:16 -08:00