Skip to content

Releases: switchupcb/dasgo

v10.1

06 Dec 10:42
Compare
Choose a tag to compare

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. This version of dasgo contains every Discord Object (defined by December 4, 2022) 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 3700 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. 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.

Update

Dasgo has been used at scale by Disgo. This had led to a major update in the specification that allows every developer to access optional and nullable functionality in a correct manner. This functionality is simplified for the end user through the introduction of functions Pointer, Pointer2, IsValue, IsValue2, and PointerCheck.

v10

27 Jul 05:42
Compare
Choose a tag to compare
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.

beta

06 Jun 06:55
6a275a9
Compare
Choose a tag to compare

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.

beta

The beta version of dasgo contains every Discord Object (defined by June 6th, 2022). Using dasgo to generate or alias the structs of a Discord API wrapper/bot saves developers from maintaining over 3300 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.

Roadmap

Dasgo will remain in beta (prior to v10) until an official library that uses it is completed. This will allow us to test and update established specifications and fix any minor issues.

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.

alpha

01 May 06:38
Compare
Choose a tag to compare

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.

alpha

The alpha version of dasgo contains every Discord Object (defined by April 6th, 2022). Using dasgo to generate or alias the structs of a Discord API wrapper/bot saves developers from maintaining over 3000 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.

Roadmap

Dasgo will remain in alpha until it's been used in an official library. This will allow us to test and update the established specifications.

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.