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

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
.DS_Store
.env
var
bin
bin
.#*

View File

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

View File

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

View File

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

View File

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

View File

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