2022-12-10 12:10:34 -08:00
2022-12-10 09:17:16 -08:00
2022-12-10 09:17:16 -08:00
2022-12-10 09:17:16 -08:00
2022-12-10 09:17:16 -08:00
2022-12-10 12:42:27 -08:00
2022-12-10 09:18:40 -08:00
2022-12-10 09:17:16 -08:00
2022-12-10 17:52:09 +00:00
2022-12-10 12:07:19 -08:00
2022-12-10 09:17:16 -08:00

Go-Lemmy

Go Reference

Go bindings to the Lemmy API

Example:

ctx := context.Background()

c, err := lemmy.New("https://lemmy.ml")
if err != nil {
    panic(err)
}

err = c.Login(ctx, types.Login{
    UsernameOrEmail: "email@example.com",
    Password:        `TestPwd`,
})
if err != nil {
    panic(err)
}

_, err = c.SaveUserSettings(ctx, types.SaveUserSettings{
    BotAccount: types.NewOptional(true),
})
if err != nil {
    panic(err)
}
Description
No description provided
Readme 324 KiB
Languages
Go 100%