Run goimports
This commit is contained in:
parent
02ef5ab82c
commit
cdf9b1e4a0
16 changed files with 127 additions and 130 deletions
|
@ -2,6 +2,7 @@ package binary
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"google.golang.org/protobuf/proto"
|
"google.golang.org/protobuf/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
1
libgm/cache/settings.go
vendored
1
libgm/cache/settings.go
vendored
|
@ -1,6 +1,5 @@
|
||||||
package cache
|
package cache
|
||||||
|
|
||||||
|
|
||||||
type Settings struct {
|
type Settings struct {
|
||||||
CarrierName string `json:"carrierName,omitempty"`
|
CarrierName string `json:"carrierName,omitempty"`
|
||||||
HexHash string `json:"hexHash,omitempty"`
|
HexHash string `json:"hexHash,omitempty"`
|
||||||
|
|
|
@ -3,6 +3,7 @@ package debug
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/mattn/go-colorable"
|
"github.com/mattn/go-colorable"
|
||||||
zerolog "github.com/rs/zerolog"
|
zerolog "github.com/rs/zerolog"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package events
|
package events
|
||||||
|
|
||||||
|
|
||||||
type BROWSER_ACTIVE struct {
|
type BROWSER_ACTIVE struct {
|
||||||
SessionId string
|
SessionId string
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,6 @@ func (s *SessionHandler) addRequestToChannel(requestId string, opCode int64) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (s *SessionHandler) respondToRequestChannel(res *Response) {
|
func (s *SessionHandler) respondToRequestChannel(res *Response) {
|
||||||
requestId := res.Data.RequestId
|
requestId := res.Data.RequestId
|
||||||
reqChannel, ok := s.requests[requestId]
|
reqChannel, ok := s.requests[requestId]
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package util
|
package util
|
||||||
|
|
||||||
|
|
||||||
var GOOG_API_KEY = "AIzaSyCA4RsOZUFrm9whhtGosPlJLmVPnfSHKz8"
|
var GOOG_API_KEY = "AIzaSyCA4RsOZUFrm9whhtGosPlJLmVPnfSHKz8"
|
||||||
var USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
|
var USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
|
||||||
var OS = "Linux"
|
var OS = "Linux"
|
||||||
|
|
|
@ -2,7 +2,6 @@ package util
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
|
|
||||||
type InstructionNotFound struct {
|
type InstructionNotFound struct {
|
||||||
Opcode int64
|
Opcode int64
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/nu7hatch/gouuid"
|
uuid "github.com/nu7hatch/gouuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
var Charset = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890")
|
var Charset = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890")
|
||||||
|
|
Loading…
Reference in a new issue