moved local imports into 'internal' parent package

This commit is contained in:
Adrien Marquès 2018-07-09 00:08:53 +02:00
parent a555356cd8
commit 6784c2df95
24 changed files with 11 additions and 11 deletions

View File

@ -2,7 +2,7 @@ package main
import (
"fmt"
"git.xdrm.io/go/aicra/clifmt"
"git.xdrm.io/go/aicra/internal/clifmt"
"os"
"os/exec"
"path/filepath"

View File

@ -3,7 +3,7 @@ package main
import (
"flag"
"fmt"
"git.xdrm.io/go/aicra/clifmt"
"git.xdrm.io/go/aicra/internal/clifmt"
"os"
"path/filepath"
"time"
@ -76,7 +76,7 @@ func main() {
}
// default types folder
dtPath := filepath.Join(os.Getenv("GOPATH"), "src/git.xdrm.io/go/aicra/checker/default")
dtPath := filepath.Join(os.Getenv("GOPATH"), "src/git.xdrm.io/go/aicra/internal/checker/default")
/* (3) Check path are existing dirs
---------------------------------------------------------*/

View File

@ -3,7 +3,7 @@ package request
import (
"encoding/json"
"fmt"
"git.xdrm.io/go/aicra/multipart"
"git.xdrm.io/go/aicra/internal/multipart"
"log"
"net/http"
"strings"

View File

@ -2,12 +2,12 @@ package aicra
import (
"fmt"
"git.xdrm.io/go/aicra/checker"
"git.xdrm.io/go/aicra/config"
e "git.xdrm.io/go/aicra/err"
"git.xdrm.io/go/aicra/implement"
"git.xdrm.io/go/aicra/internal/checker"
"git.xdrm.io/go/aicra/internal/config"
"git.xdrm.io/go/aicra/internal/request"
"git.xdrm.io/go/aicra/middleware"
"git.xdrm.io/go/aicra/request"
"log"
"net/http"
)

View File

@ -1,8 +1,8 @@
package aicra
import (
"git.xdrm.io/go/aicra/checker"
"git.xdrm.io/go/aicra/config"
"git.xdrm.io/go/aicra/internal/checker"
"git.xdrm.io/go/aicra/internal/config"
"git.xdrm.io/go/aicra/middleware"
)

View File

@ -2,10 +2,10 @@ package aicra
import (
"encoding/json"
"git.xdrm.io/go/aicra/config"
"git.xdrm.io/go/aicra/err"
"git.xdrm.io/go/aicra/implement"
"git.xdrm.io/go/aicra/request"
"git.xdrm.io/go/aicra/internal/config"
"git.xdrm.io/go/aicra/internal/request"
"log"
"net/http"
)