Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
move datauri as a shared package
Browse files Browse the repository at this point in the history
Signed-off-by: Merlin Ran <merlinran@gmail.com>
  • Loading branch information
merlinran committed Jul 20, 2021
1 parent 0e111ff commit 6d6bf99
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions gen/v1/message.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion httpapi/httpapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strings"

"github.com/textileio/bidbot/lib/auction"
"github.com/textileio/bidbot/lib/datauri"
"github.com/textileio/bidbot/lib/marketpeer"
"github.com/textileio/bidbot/service/datauri"
bidstore "github.com/textileio/bidbot/service/store"
golog "github.com/textileio/go-log/v2"
)
Expand Down
2 changes: 1 addition & 1 deletion httpapi/httpapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"github.com/textileio/bidbot/lib/auction"
"github.com/textileio/bidbot/lib/datauri"
"github.com/textileio/bidbot/lib/marketpeer"
"github.com/textileio/bidbot/service/datauri"
bidstore "github.com/textileio/bidbot/service/store"
golog "github.com/textileio/go-log/v2"
)
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
format "github.com/ipfs/go-ipld-format"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
. "github.com/textileio/bidbot/lib/datauri"
"github.com/textileio/bidbot/lib/datauri/apitest"
"github.com/textileio/bidbot/lib/finalizer"
"github.com/textileio/bidbot/lib/marketpeer"
. "github.com/textileio/bidbot/service/datauri"
"github.com/textileio/bidbot/service/datauri/apitest"
)

var testCid = "bafybeic6xu6afw5lg6a6h6uk27twq3bmzxjg346nhsyenuhxwzfv6yhu5y"
Expand Down
2 changes: 1 addition & 1 deletion service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import (
pb "github.com/textileio/bidbot/gen/v1"
"github.com/textileio/bidbot/lib/auction"
"github.com/textileio/bidbot/lib/cast"
"github.com/textileio/bidbot/lib/datauri"
"github.com/textileio/bidbot/lib/dshelper/txndswrap"
"github.com/textileio/bidbot/lib/filclient"
"github.com/textileio/bidbot/lib/finalizer"
"github.com/textileio/bidbot/lib/marketpeer"

"github.com/textileio/bidbot/service/datauri"
"github.com/textileio/bidbot/service/limiter"
"github.com/textileio/bidbot/service/lotusclient"
bidstore "github.com/textileio/bidbot/service/store"
Expand Down
2 changes: 1 addition & 1 deletion service/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"github.com/libp2p/go-libp2p-core/peer"
"github.com/oklog/ulid/v2"
"github.com/textileio/bidbot/lib/auction"
"github.com/textileio/bidbot/lib/datauri"
"github.com/textileio/bidbot/lib/dshelper/txndswrap"
"github.com/textileio/bidbot/service/datauri"
"github.com/textileio/bidbot/service/limiter"
"github.com/textileio/bidbot/service/lotusclient"
dsextensions "github.com/textileio/go-datastore-extensions"
Expand Down
2 changes: 1 addition & 1 deletion service/store/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"github.com/textileio/bidbot/lib/auction"
"github.com/textileio/bidbot/lib/datauri/apitest"
"github.com/textileio/bidbot/lib/logging"
"github.com/textileio/bidbot/lib/marketpeer"
lotusclientmocks "github.com/textileio/bidbot/lib/mocks/lotusclient"
"github.com/textileio/bidbot/service/datauri/apitest"
"github.com/textileio/bidbot/service/limiter"
badger "github.com/textileio/go-ds-badger3"
golog "github.com/textileio/go-log/v2"
Expand Down

0 comments on commit 6d6bf99

Please sign in to comment.