Skip to content

Commit

Permalink
Merge pull request #21 from KyberNetwork/storage
Browse files Browse the repository at this point in the history
rellocate storage
  • Loading branch information
ngocthanh1389 authored Jul 6, 2023
2 parents b0caa22 + 8f6ddae commit 8c625ab
Show file tree
Hide file tree
Showing 16 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions cmd/tradelogs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import (
libapp "github.com/KyberNetwork/tradelogs/internal/app"
"github.com/KyberNetwork/tradelogs/internal/bigquery"
"github.com/KyberNetwork/tradelogs/internal/dbutil"
backfill "github.com/KyberNetwork/tradelogs/internal/server/backfill"
tradelogs "github.com/KyberNetwork/tradelogs/internal/server/tradelogs"
"github.com/KyberNetwork/tradelogs/internal/worker"
"github.com/KyberNetwork/tradelogs/pkg/evmlistenerclient"
"github.com/KyberNetwork/tradelogs/pkg/parser"
"github.com/KyberNetwork/tradelogs/pkg/parser/hashflow"
Expand All @@ -17,10 +20,7 @@ import (
"github.com/KyberNetwork/tradelogs/pkg/parser/tokenlon"
"github.com/KyberNetwork/tradelogs/pkg/parser/zxotc"
"github.com/KyberNetwork/tradelogs/pkg/parser/zxrfq"
backfill "github.com/KyberNetwork/tradelogs/internal/server/backfill"
tradelogs "github.com/KyberNetwork/tradelogs/internal/server/tradelogs"
"github.com/KyberNetwork/tradelogs/internal/storage"
"github.com/KyberNetwork/tradelogs/internal/worker"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/go-redis/redis/v8"
"github.com/jmoiron/sqlx"
"github.com/urfave/cli"
Expand Down
2 changes: 1 addition & 1 deletion internal/bigquery/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"time"

"cloud.google.com/go/bigquery"
"github.com/KyberNetwork/tradelogs/internal/storage"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/KyberNetwork/tradelogs/pkg/parser"
"go.uber.org/zap"
"google.golang.org/api/iterator"
Expand Down
2 changes: 1 addition & 1 deletion internal/server/tradelogs/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"time"

"github.com/KyberNetwork/tradelogs/internal/storage"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/gin-contrib/pprof"
"github.com/gin-gonic/gin"
"go.uber.org/zap"
Expand Down
2 changes: 1 addition & 1 deletion internal/worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/KyberNetwork/tradelogs/pkg/convert"

"github.com/KyberNetwork/tradelogs/internal/storage"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/KyberNetwork/tradelogs/pkg/evmlistenerclient"
"github.com/KyberNetwork/tradelogs/pkg/parser"
"go.uber.org/zap"
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/hashflow/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package hashflow
import (
"errors"

"github.com/KyberNetwork/tradelogs/internal/storage"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/kyberswap/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/ethereum/go-ethereum/core/types"

"github.com/KyberNetwork/tradelogs/internal/storage"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/paraswap/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package paraswap
import (
"errors"

"github.com/KyberNetwork/tradelogs/internal/storage"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/parser.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package parser

import (
"github.com/KyberNetwork/tradelogs/internal/storage"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/ethereum/go-ethereum/core/types"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/tokenlon/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package tokenlon
import (
"errors"

"github.com/KyberNetwork/tradelogs/internal/storage"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/zxotc/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package zxotc
import (
"errors"

"github.com/KyberNetwork/tradelogs/internal/storage"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/zxrfq/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package zxrfq
import (
"errors"

"github.com/KyberNetwork/tradelogs/internal/storage"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8c625ab

Please sign in to comment.