Skip to content
/ dasgo Public
forked from switchupcb/dasgo

Discord API Specification Type Definitions for Go.

License

Notifications You must be signed in to change notification settings

joshdawe/dasgo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dasgo

Dasgo provides a direct representation of Discord API Objects in Go.

Using Dasgo

There are two ways to use dasgo.

Alias

Import

Get a specific version of the dasgo dependency by specifying a branch or tag.

go get github.com/switchupcb/dasgo@latest

Dasgo branches are referenced by API version (i.e v8, v9).

Definition

Use an alias to rename the type in your project.

// alias dasgo.User to DiscordUser in your application or library.
type DiscordUser dasgo.User

Generation

Use copy/paste or code generation to add dasgo types to your repository.

Specification

For more information, read the Specification.

Contribution

You can contribute to this repository by reading Contribution.

License

The BSD 3-Clause is a permissive license.

Libraries

Libraries that use Dasgo.

Library Description
Disgo Discord API Wrapper, Cache, and Shard Manager.

About

Discord API Specification Type Definitions for Go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%