Jelajahi Sumber

Don't forget GoImports...

Bruce Marriner 8 tahun lalu
induk
melakukan
bcc42e8211
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  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.")