Pārlūkot izejas kodu

Don't forget GoImports...

Bruce Marriner 8 gadi atpakaļ
vecāks
revīzija
bcc42e8211
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  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.")