organize imports with gopls format

This commit is contained in:
Jakob Schrettenbrunner
2021-01-10 01:22:39 +00:00
parent 948d927eb9
commit 648072436f
48 changed files with 175 additions and 127 deletions

View File

@@ -2,17 +2,18 @@ package api
import (
"bytes"
"emperror.dev/errors"
"encoding/json"
"fmt"
"github.com/apex/log"
"github.com/pterodactyl/wings/config"
"github.com/pterodactyl/wings/system"
"io"
"io/ioutil"
"net/http"
"strings"
"time"
"emperror.dev/errors"
"github.com/apex/log"
"github.com/pterodactyl/wings/config"
"github.com/pterodactyl/wings/system"
)
// Initializes the requester instance.

View File

@@ -2,10 +2,11 @@ package api
import (
"encoding/json"
"github.com/apex/log"
"github.com/pterodactyl/wings/parser"
"regexp"
"strings"
"github.com/apex/log"
"github.com/pterodactyl/wings/parser"
)
type OutputLineMatcher struct {

View File

@@ -4,11 +4,12 @@ import (
"context"
"encoding/json"
"fmt"
"strconv"
"sync"
"github.com/apex/log"
"github.com/pterodactyl/wings/config"
"golang.org/x/sync/errgroup"
"strconv"
"sync"
)
const (

View File

@@ -1,9 +1,10 @@
package api
import (
"regexp"
"emperror.dev/errors"
"github.com/apex/log"
"regexp"
)
type SftpAuthRequest struct {