Archived
@@ -0,0 +1,28 @@
|
||||
# gtslib
|
||||
|
||||
[](https://build.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>
|
||||
Reference in New Issue
Block a user