database: move to internal/
This commit is contained in:
parent
73cd736cd2
commit
8689a2f135
|
@ -2,3 +2,4 @@
|
|||
.env
|
||||
var
|
||||
bin
|
||||
.#*
|
|
@ -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"
|
||||
|
|
3
mage.go
3
mage.go
|
@ -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"} {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue