1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

ci(chore): Fix stylings

This commit is contained in:
github-actions[bot] 2021-11-01 18:45:12 +00:00
parent 2350d04f0f
commit 89b2d4e2ba
15 changed files with 30 additions and 15 deletions

View File

@ -4,11 +4,12 @@ import (
"crypto/md5" "crypto/md5"
"encoding/hex" "encoding/hex"
"fmt" "fmt"
"math/rand"
"time"
"github.com/Mrs4s/MiraiGo/internal/crypto" "github.com/Mrs4s/MiraiGo/internal/crypto"
packets2 "github.com/Mrs4s/MiraiGo/internal/packets" packets2 "github.com/Mrs4s/MiraiGo/internal/packets"
tlv2 "github.com/Mrs4s/MiraiGo/internal/tlv" tlv2 "github.com/Mrs4s/MiraiGo/internal/tlv"
"math/rand"
"time"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"

View File

@ -3,8 +3,6 @@ package client
import ( import (
"crypto/md5" "crypto/md5"
"fmt" "fmt"
"github.com/Mrs4s/MiraiGo/internal/crypto"
packets2 "github.com/Mrs4s/MiraiGo/internal/packets"
"math" "math"
"math/rand" "math/rand"
"net" "net"
@ -13,6 +11,9 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/Mrs4s/MiraiGo/internal/crypto"
packets2 "github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/Mrs4s/MiraiGo/binary" "github.com/Mrs4s/MiraiGo/binary"

View File

@ -2,6 +2,7 @@ package client
import ( import (
"fmt" "fmt"
"github.com/Mrs4s/MiraiGo/internal/packets" "github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/pkg/errors" "github.com/pkg/errors"

View File

@ -4,12 +4,13 @@ import (
"crypto/sha1" "crypto/sha1"
"encoding/hex" "encoding/hex"
"fmt" "fmt"
"github.com/Mrs4s/MiraiGo/internal/packets"
"io" "io"
"math/rand" "math/rand"
"os" "os"
"runtime/debug" "runtime/debug"
"github.com/Mrs4s/MiraiGo/internal/packets"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"
"github.com/pkg/errors" "github.com/pkg/errors"

View File

@ -3,13 +3,14 @@ package client
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/Mrs4s/MiraiGo/internal/packets"
"math/rand" "math/rand"
"net/url" "net/url"
"sort" "sort"
"strings" "strings"
"sync" "sync"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/pkg/errors" "github.com/pkg/errors"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"

View File

@ -5,13 +5,14 @@ import (
"encoding/base64" "encoding/base64"
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/Mrs4s/MiraiGo/internal/packets"
"math" "math"
"math/rand" "math/rand"
"strconv" "strconv"
"strings" "strings"
"time" "time"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/client/pb/longmsg" "github.com/Mrs4s/MiraiGo/client/pb/longmsg"
"github.com/Mrs4s/MiraiGo/client/pb/msg" "github.com/Mrs4s/MiraiGo/client/pb/msg"
"github.com/Mrs4s/MiraiGo/client/pb/multimsg" "github.com/Mrs4s/MiraiGo/client/pb/multimsg"

View File

@ -4,7 +4,6 @@ import (
"bytes" "bytes"
"encoding/hex" "encoding/hex"
"fmt" "fmt"
"github.com/Mrs4s/MiraiGo/internal/packets"
"image" "image"
_ "image/gif" _ "image/gif"
"io" "io"
@ -13,6 +12,8 @@ import (
"strings" "strings"
"time" "time"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/client/pb/highway" "github.com/Mrs4s/MiraiGo/client/pb/highway"
"github.com/Mrs4s/MiraiGo/client/pb/oidb" "github.com/Mrs4s/MiraiGo/client/pb/oidb"

View File

@ -2,6 +2,7 @@ package client
import ( import (
"fmt" "fmt"
"github.com/Mrs4s/MiraiGo/internal/packets" "github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/binary" "github.com/Mrs4s/MiraiGo/binary"

View File

@ -1,7 +1,6 @@
package client package client
import ( import (
"github.com/Mrs4s/MiraiGo/internal/packets"
"net" "net"
"runtime/debug" "runtime/debug"
"strings" "strings"
@ -9,6 +8,8 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/Mrs4s/MiraiGo/message" "github.com/Mrs4s/MiraiGo/message"

View File

@ -1,11 +1,12 @@
package client package client
import ( import (
"github.com/Mrs4s/MiraiGo/internal/packets"
"math/rand" "math/rand"
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/pkg/errors" "github.com/pkg/errors"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"

View File

@ -3,10 +3,11 @@ package client
import ( import (
"crypto/md5" "crypto/md5"
"encoding/hex" "encoding/hex"
"github.com/Mrs4s/MiraiGo/internal/packets"
"io" "io"
"os" "os"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/client/pb/cmd0x388" "github.com/Mrs4s/MiraiGo/client/pb/cmd0x388"
"github.com/pkg/errors" "github.com/pkg/errors"

View File

@ -4,10 +4,11 @@ package client
import ( import (
"bytes" "bytes"
"fmt" "fmt"
"github.com/Mrs4s/MiraiGo/internal/packets"
"io" "io"
"net/http" "net/http"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/pkg/errors" "github.com/pkg/errors"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"

View File

@ -1,10 +1,11 @@
package client package client
import ( import (
"github.com/Mrs4s/MiraiGo/internal/packets"
"math/rand" "math/rand"
"time" "time"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/client/pb/oidb" "github.com/Mrs4s/MiraiGo/client/pb/oidb"
"github.com/Mrs4s/MiraiGo/message" "github.com/Mrs4s/MiraiGo/message"
"github.com/Mrs4s/MiraiGo/utils" "github.com/Mrs4s/MiraiGo/utils"

View File

@ -1,12 +1,13 @@
package client package client
import ( import (
"github.com/Mrs4s/MiraiGo/internal/packets"
"math/rand" "math/rand"
"sync" "sync"
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/Mrs4s/MiraiGo/internal/packets"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"
"github.com/Mrs4s/MiraiGo/binary/jce" "github.com/Mrs4s/MiraiGo/binary/jce"

View File

@ -4,9 +4,10 @@ import (
"encoding/base64" "encoding/base64"
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/Mrs4s/MiraiGo/internal/packets"
"strings" "strings"
"github.com/Mrs4s/MiraiGo/internal/packets"
"github.com/Mrs4s/MiraiGo/client/pb/web" "github.com/Mrs4s/MiraiGo/client/pb/web"
"github.com/Mrs4s/MiraiGo/utils" "github.com/Mrs4s/MiraiGo/utils"
"github.com/pkg/errors" "github.com/pkg/errors"