database: move to internal/

This commit is contained in:
Cadey Ratio 2017-09-30 06:41:35 -07:00
parent 73cd736cd2
commit 8689a2f135
No known key found for this signature in database
GPG Key ID: D607EE27C2E7F89A
11 changed files with 6 additions and 8 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
.env .env
var var
bin bin
.#*

View File

@ -13,7 +13,7 @@ import (
"go.uber.org/atomic" "go.uber.org/atomic"
"git.xeserv.us/xena/route/database" "git.xeserv.us/xena/route/internal/database"
"git.xeserv.us/xena/route/lib/routecrypto" "git.xeserv.us/xena/route/lib/routecrypto"
proto "git.xeserv.us/xena/route/proto" proto "git.xeserv.us/xena/route/proto"
"github.com/Xe/ln" "github.com/Xe/ln"

View File

@ -48,9 +48,6 @@ func Build() {
ctx, cancel := context.WithCancel(context.Background()) ctx, cancel := context.WithCancel(context.Background())
defer cancel() defer cancel()
err := os.Mkdir("bin", 0777)
qod.ANE(err)
d := filepath.Join(wd, "./bin") d := filepath.Join(wd, "./bin")
for _, pkg := range []string{"helloserver", "httpagent", "route", "routed"} { for _, pkg := range []string{"helloserver", "httpagent", "route", "routed"} {

View File

@ -4,7 +4,7 @@ import (
"context" "context"
"errors" "errors"
"git.xeserv.us/xena/route/database" "git.xeserv.us/xena/route/internal/database"
"github.com/Xe/ln" "github.com/Xe/ln"
"google.golang.org/grpc" "google.golang.org/grpc"
"google.golang.org/grpc/codes" "google.golang.org/grpc/codes"

View File

@ -8,7 +8,7 @@ import (
"net/http/httputil" "net/http/httputil"
"time" "time"
"git.xeserv.us/xena/route/database" "git.xeserv.us/xena/route/internal/database"
"git.xeserv.us/xena/route/lib/tun2" "git.xeserv.us/xena/route/lib/tun2"
proto "git.xeserv.us/xena/route/proto" proto "git.xeserv.us/xena/route/proto"
"github.com/mtneug/pkg/ulid" "github.com/mtneug/pkg/ulid"

View File

@ -3,7 +3,7 @@ package server
import ( import (
"context" "context"
"git.xeserv.us/xena/route/database" "git.xeserv.us/xena/route/internal/database"
"git.xeserv.us/xena/route/lib/tun2" "git.xeserv.us/xena/route/lib/tun2"
) )