Commit Graph

59 Commits

Author SHA1 Message Date
8a4f704788 Return bool from Optional[T].Value() instead of an error 2023-10-04 16:44:07 -07:00
7e2677c495 Unexport types that no longer need to be exported 2023-10-04 16:28:52 -07:00
c40ad29ae1 Merge types package into root lemmy package 2023-10-04 16:23:31 -07:00
2511d0dcc7 Update for 0.19.0-rc.1 2023-10-04 16:16:36 -07:00
5a7463d006 Add some comments and separate stuff into different files 2023-09-25 09:55:08 -07:00
0d50afac8e Handle lack of parameters 2023-09-24 21:48:00 -07:00
833745395f Fix some more capitalization and remove WebsocketMsg 2023-09-24 20:51:23 -07:00
f8a84454d8 Handle when_ fields 2023-09-24 20:40:00 -07:00
fb99765a2a Use int64 instead of float64 and fix some capitalization 2023-09-24 20:16:12 -07:00
7e4c13d031 Add ValueOrEmpty to Optional type 2023-09-24 19:39:46 -07:00
4bc9ac9276 Handle LemmyTime fields 2023-09-24 19:36:37 -07:00
44dbe8c934 Rewrite generator and update for Lemmy 0.18.3 2023-09-24 19:28:46 -07:00
9f4bae88f2 Add MarshalJSON function to LemmyTime 2023-09-02 15:51:05 -07:00
11c92ef2b1 Fix Go badge link 2023-07-04 01:24:34 +00:00
329bf27ffd Remove websocket example because the websocket has been removed from lemmy 2023-07-03 17:49:39 -07:00
058b3879ae Update for 0.18.0 2023-07-03 17:47:46 -07:00
ff36330625 Update for Lemmy v0.17.3 2023-06-05 13:30:13 -07:00
86c9270820 Update domain 2023-04-20 19:27:38 -07:00
e21c53eb61 Update go.mod domain 2023-04-20 19:14:05 -07:00
0b8023a108 Update for 0.17.0 2023-01-30 19:38:57 -08:00
ef2e61a1d7 Reconnect on any read error 2023-01-24 13:19:22 -08:00
4fe5c94d9c Add WebSocket reconnects 2023-01-09 12:54:06 -08:00
31aa7361ec Move examples to examples directory 2023-01-08 00:47:32 -08:00
d7ad5f9f94 Replace panics with error logs 2023-01-07 15:25:18 -08:00
4ae5f8d387 Add generation instructions to README 2023-01-07 15:15:49 -08:00
018527cbd4 Add comments containing source file to generated files 2023-01-07 15:05:40 -08:00
df0dc254c3 Add special case for 'Crud', and transform enum and struct type names 2023-01-07 14:54:04 -08:00
c6b51b4705 Merge branch 'master' of ssh://192.168.100.62:2222/Arsen6331/go-lemmy 2023-01-07 14:48:15 -08:00
75566b4809 Regenerate code 2023-01-07 14:45:01 -08:00
c13f0633c3 Add special cases for 'jwt' and 'crud' 2023-01-07 14:42:57 -08:00
bcc3bf8716 Add header comment to generated files 2023-01-07 14:40:18 -08:00
052527c5ac Update 'go.mod' 2023-01-06 02:58:39 +00:00
3ff5c01653 Remove debug code 2023-01-05 13:46:07 -08:00
1765ca2db5 Add new LemmyTime type and remove omitempty from json tag 2023-01-05 13:42:24 -08:00
187da56546 Add Operation interface 2023-01-05 13:17:10 -08:00
9ef13bb413 Add IsOneOf to websocket message 2023-01-05 13:13:10 -08:00
a8997d12ee Use correct type for enum generation 2023-01-05 13:02:11 -08:00
a355158d88 Use autogenerated bindings for Lemmy 0.16.7 2023-01-05 12:51:45 -08:00
c19f44c304 Add doc comments 2022-12-13 10:49:58 -08:00
c1d9a76a7f Disable recws as it was causing problems 2022-12-13 01:09:43 -08:00
4487f18e83 Add support for connection handlers 2022-12-12 18:36:56 -08:00
defecf60ce Update go.mod 2022-12-12 18:23:20 -08:00
8b7d681f44 Add login support for WebSocket API 2022-12-12 18:12:22 -08:00
20d99cc702 Add WebSocket types 2022-12-12 18:11:57 -08:00
6023806f7b Add support for websocket api 2022-12-12 17:35:41 -08:00
0850c2fe1f Switch user operations to string type 2022-12-12 16:08:41 -08:00
848356eb08 Check response status code more strictly 2022-12-10 15:40:52 -08:00
1ca785de16 Remove omitempty from json struct tags 2022-12-10 15:33:08 -08:00
ddd10da18d Remove unused dependency from go.mod 2022-12-10 15:19:25 -08:00
4714be0ac9 Fix setAuth() when field is of type Optional[string] 2022-12-10 15:17:18 -08:00