瀏覽代碼

Don't forget GoImports...

Bruce Marriner 8 年之前
父節點
當前提交
bcc42e8211
共有 1 個文件被更改,包括 4 次插入1 次删除
  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.")