Run goimports

This commit is contained in:
Tulir Asokan 2023-06-30 12:55:49 +03:00
parent 02ef5ab82c
commit cdf9b1e4a0
16 changed files with 127 additions and 130 deletions

View file

@ -2,6 +2,7 @@ package binary
import (
"fmt"
"google.golang.org/protobuf/proto"
)

View file

@ -1,6 +1,5 @@
package cache
type Settings struct {
CarrierName string `json:"carrierName,omitempty"`
HexHash string `json:"hexHash,omitempty"`

View file

@ -3,6 +3,7 @@ package debug
import (
"fmt"
"time"
"github.com/mattn/go-colorable"
zerolog "github.com/rs/zerolog"
)

View file

@ -1,6 +1,5 @@
package events
type BROWSER_ACTIVE struct {
SessionId string
}

View file

@ -42,7 +42,6 @@ func (s *SessionHandler) addRequestToChannel(requestId string, opCode int64) {
}
}
func (s *SessionHandler) respondToRequestChannel(res *Response) {
requestId := res.Data.RequestId
reqChannel, ok := s.requests[requestId]

View file

@ -1,6 +1,5 @@
package util
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 OS = "Linux"

View file

@ -2,7 +2,6 @@ package util
import "fmt"
type InstructionNotFound struct {
Opcode int64
}

View file

@ -8,7 +8,7 @@ import (
"net/http"
"time"
"github.com/nu7hatch/gouuid"
uuid "github.com/nu7hatch/gouuid"
)
var Charset = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890")