# 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