mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-12-12 16:35:30 +00:00
331ec59dec
This commit gets rid of contain-it-all structs and instead opt for interface union types containing underlying concrete types with no overloading. The code is much more verbose by doing this, but the API is much nicer to use. The only disadvantage in that regard is the interface assertion being too verbose and risky for users at times.
13 lines
341 B
Modula-2
13 lines
341 B
Modula-2
module github.com/diamondburned/arikawa/v3
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
github.com/gorilla/schema v1.2.0
|
|
github.com/gorilla/websocket v1.4.2
|
|
github.com/pkg/errors v0.9.1
|
|
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
|
|
golang.org/x/sys v0.0.0-20211001092434-39dca1131b70 // indirect
|
|
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
|
|
)
|