Commit Graph

69 Commits

Author SHA1 Message Date
966887f3ba Fix comments example printf 2023-10-06 07:12:54 -07:00
5fd0a73741 Remove unnecessary pointer 2023-10-05 13:44:29 -07:00
db30aeabf5 Add more examples 2023-10-05 13:20:12 -07:00
8b669910e4 Clarify comments 2023-10-04 21:13:20 -07:00
f01ac7b716 Merge HTTPError into Error 2023-10-04 21:08:55 -07:00
9edacef768 Rename LemmyError to Error to remove stutter 2023-10-04 20:54:36 -07:00
b22e50d439 Remove MustValue from optional type 2023-10-04 20:47:30 -07:00
46c74e6b9b Remove lemmyResponse type 2023-10-04 20:45:36 -07:00
4711b2b160 Add comment for ErrNoToken 2023-10-04 17:14:28 -07:00
afa9507ee2 Remove panic from ClientLogin 2023-10-04 17:13:27 -07:00
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