v10
Dasgo
Dasgo provides 1:1 type definitions for the Discord API in Go. It aims to provide a direct representation of Discord API objects for libraries and applications that use the Discord API.
v10
The v10 version of dasgo
contains every Discord Object (defined by July 27th, 2022) for the Discord API Version 10. Using dasgo
to generate or alias the structs of a Discord API wrapper/bot saves developers from maintaining over 3500 lines of Go code and 1000 respective comments. As dasgo
gains adoption, users will benefit from code that is reviewed by more people and updated quickly.
Usage
Using dasgo
is simple! Copy and paste the library into your project or use a code generator to parse the structs and output them in your own way. When the Discord API is updated, dasgo
will be updated too. Once that happens, all you have to do is run the same process again for instant, up-to-date, error-free code.
Tip
Use go get github.com/switchupcb/dasgo@v10
to pull from the latest version 10 commit.