Dasgo
Dasgo provides 1:1 type definitions for the Discord API in Go. This provides a direct representation of Discord API objects for libraries and applications that use the Discord API.
This version of dasgo contains every Discord Object (defined by January 25, 2025) for the Discord API Version 10. Using dasgo to generate or alias the structs of a Discord API wrapper or bot saves developers from maintaining over 4700 lines of Go code.
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.
dasgo is updated when the Discord API is updated. So, you run the same process again for instant, up-to-date, error-free code when the Discord API is updated.
Tip
Use go get github.com/switchupcb/dasgo@v10 to pull from the latest version 10 commit.
Disclaimer
This version references voice structures from Voice Gateway Version 7.