gtslib/README.md
decentral1se 6bd88e34a7
All checks were successful
continuous-integration/drone/push Build is passing
fix: link
2024-08-01 22:59:43 +02:00

31 lines
1.3 KiB
Markdown

# gtslib
[![Build Status](https://build.coopcloud.tech/api/badges/decentral1se/gtslib/status.svg?ref=refs/heads/main)](https://build.coopcloud.tech/decentral1se/gtslib)
[![Go Report Card](https://goreportcard.com/badge/git.coopcloud.tech/decentral1se/gtslib)](https://goreportcard.com/report/git.coopcloud.tech/decentral1se/gtslib)
[![Go Reference](https://pkg.go.dev/badge/git.coopcloud.tech/decentral1se/gtslib.svg)](https://pkg.go.dev/git.coopcloud.tech/decentral1se/gtslib)
> Go API bindings for GoToSocial
[GoToSocial](https://gotosocial.org) is still **alpha** software and so are these bindings. I have no grand schemes beyond updating the bindings to match the latest releases of GtS as things progress. Current version generated from this [`swagger.yml`](https://github.com/superseriousbusiness/gotosocial/blob/368c97f0f85f243796a0407960dc5a2ccad24bab/docs/api/swagger.yaml).
## Generate
You'll need to install [`go-swagger`](https://goswagger.io/install.html).
```
go generate ./...
# apply workaround for https://github.com/go-swagger/go-swagger/issues/2997
patch -u -p1 -i filter-context.diff
```
## ACK
Made possible by the good work of [`slurp`](https://github.com/VyrCossont/slurp).
## License
<a href="https://git.coopcloud.tech/decentral1se/gtslib/src/branch/main/LICENSE">
<img src="https://www.gnu.org/graphics/agplv3-with-text-162x68.png" />
</a>