Explorar o código

Don't forget GoImports...

Bruce Marriner %!s(int64=8) %!d(string=hai) anos
pai
achega
bcc42e8211
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      state.go

+ 4 - 1
state.go

@@ -12,7 +12,10 @@
 
 package discordgo
 
-import "errors"
+import (
+	"errors"
+	"sync"
+)
 
 // ErrNilState is returned when the state is nil.
 var ErrNilState = errors.New("State not instantiated, please use discordgo.New() or assign Session.State.")