rename to new lowercase github namespace

This commit is contained in:
Jakob Schrettenbrunner 2018-02-20 21:25:31 +01:00
parent 0b3fb72a97
commit e4e060a82f
13 changed files with 21 additions and 21 deletions

View File

@ -2,7 +2,7 @@
Pterodactyl go Daemon Vagrant VM Pterodactyl go Daemon Vagrant VM
Gopath: /home/ubuntu/go Gopath: /home/ubuntu/go
Daemon: /home/ubuntu/go/src/github.com/Pterodactyl/wings.go Daemon: /home/ubuntu/go/src/github.com/pterodactyl/wings.go
Data: /srv/daemon-data Data: /srv/daemon-data
##################################################### #####################################################

View File

@ -8,7 +8,7 @@ import (
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/Pterodactyl/wings/config" "github.com/pterodactyl/wings/config"
) )
type InternalAPI struct { type InternalAPI struct {

View File

@ -3,9 +3,9 @@ package api
import ( import (
"net/http" "net/http"
"github.com/Pterodactyl/wings/config"
"github.com/Pterodactyl/wings/control"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/pterodactyl/wings/config"
"github.com/pterodactyl/wings/control"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@ -8,8 +8,8 @@ import (
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/Pterodactyl/wings/config" "github.com/pterodactyl/wings/config"
"github.com/Pterodactyl/wings/control" "github.com/pterodactyl/wings/control"
) )
const configFile = "_testdata/config.yml" const configFile = "_testdata/config.yml"

View File

@ -4,8 +4,8 @@ import (
"net/http" "net/http"
"runtime" "runtime"
"github.com/Pterodactyl/wings/constants"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/pterodactyl/wings/constants"
"github.com/shirou/gopsutil/cpu" "github.com/shirou/gopsutil/cpu"
"github.com/shirou/gopsutil/host" "github.com/shirou/gopsutil/host"
"github.com/shirou/gopsutil/mem" "github.com/shirou/gopsutil/mem"

View File

@ -3,8 +3,8 @@ package api
import ( import (
"net/http" "net/http"
"github.com/Pterodactyl/wings/control"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/pterodactyl/wings/control"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@ -8,8 +8,8 @@ import (
"net/http/httptest" "net/http/httptest"
"testing" "testing"
"github.com/Pterodactyl/wings/control"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/pterodactyl/wings/control"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View File

@ -1,8 +1,8 @@
package api package api
import ( import (
"github.com/Pterodactyl/wings/control"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/pterodactyl/wings/control"
) )
func getServerFromContext(context *gin.Context) control.Server { func getServerFromContext(context *gin.Context) control.Server {

View File

@ -6,11 +6,11 @@ import (
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/Pterodactyl/wings/api" "github.com/pterodactyl/wings/api"
"github.com/Pterodactyl/wings/config" "github.com/pterodactyl/wings/config"
"github.com/Pterodactyl/wings/constants" "github.com/pterodactyl/wings/constants"
"github.com/Pterodactyl/wings/control" "github.com/pterodactyl/wings/control"
"github.com/Pterodactyl/wings/utils" "github.com/pterodactyl/wings/utils"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

View File

@ -6,9 +6,10 @@ import (
"os" "os"
"strings" "strings"
"github.com/Pterodactyl/wings/constants" "github.com/pterodactyl/wings/constants"
"github.com/fsouza/go-dockerclient" "github.com/fsouza/go-dockerclient"
"github.com/pterodactyl/wings/api/websockets"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View File

@ -8,8 +8,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/Pterodactyl/wings/config" "github.com/pterodactyl/wings/api/websockets"
"github.com/Pterodactyl/wings/constants"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"github.com/spf13/viper" "github.com/spf13/viper"
) )

View File

@ -5,14 +5,14 @@ import (
"path/filepath" "path/filepath"
"time" "time"
"github.com/Pterodactyl/wings/constants" "github.com/pterodactyl/wings/constants"
rotatelogs "github.com/lestrrat/go-file-rotatelogs" rotatelogs "github.com/lestrrat/go-file-rotatelogs"
"github.com/rifflock/lfshook" "github.com/rifflock/lfshook"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/Pterodactyl/wings/config" "github.com/pterodactyl/wings/config"
) )
// InitLogging initalizes the logging library for first use. // InitLogging initalizes the logging library for first use.

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/Pterodactyl/wings/command" "github.com/pterodactyl/wings/command"
) )
func main() { func main() {