Skip to content

Commit

Permalink
change repo name and module name
Browse files Browse the repository at this point in the history
  • Loading branch information
dasbd72 committed Mar 1, 2024
1 parent e29aa7c commit 51514a2
Show file tree
Hide file tree
Showing 15 changed files with 46 additions and 46 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
go-version: '1.22'

- name: Binance Unit Test
run: go test -v github.com/dasbd72/asset-management/binance
run: go test -v github.com/dasbd72/go-exchange-sdk/binance

- name: OKX Unit Test
run: go test -v github.com/dasbd72/asset-management/okx
run: go test -v github.com/dasbd72/go-exchange-sdk/okx

- name: MAX Unit Test
run: go test -v github.com/dasbd72/asset-management/max
run: go test -v github.com/dasbd72/go-exchange-sdk/max

- name: Manager Unit Test
run: go test -v github.com/dasbd72/asset-management/manager
run: go test -v github.com/dasbd72/go-exchange-sdk/manager

- name: CLI Build Test
run: go build -v -o bin/ccy-cli ./cmd/ccy-cli/...
2 changes: 1 addition & 1 deletion binance/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/dasbd72/asset-management/binance
module github.com/dasbd72/go-exchange-sdk/binance

go 1.22

Expand Down
8 changes: 4 additions & 4 deletions cmd/ccy-cli/balance.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"
"os"

"github.com/dasbd72/asset-management/binance"
"github.com/dasbd72/asset-management/manager"
"github.com/dasbd72/asset-management/max"
"github.com/dasbd72/asset-management/okx"
"github.com/dasbd72/go-exchange-sdk/binance"
"github.com/dasbd72/go-exchange-sdk/manager"
"github.com/dasbd72/go-exchange-sdk/max"
"github.com/dasbd72/go-exchange-sdk/okx"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/ccy-cli/binance.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"os"

"github.com/dasbd72/asset-management/binance"
"github.com/dasbd72/go-exchange-sdk/binance"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/ccy-cli/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module github.com/dasbd72/asset-management/cmd/ccy-cli
module github.com/dasbd72/go-exchange-sdk/cmd/ccy-cli

go 1.22

require (
github.com/dasbd72/asset-management/binance v0.0.0-20240219145431-c2f696b52ef7
github.com/dasbd72/asset-management/manager v0.0.0-20240220143049-a8e14227b876
github.com/dasbd72/asset-management/max v0.0.0-20240219145431-c2f696b52ef7
github.com/dasbd72/asset-management/okx v0.0.0-20240219145431-c2f696b52ef7
github.com/dasbd72/go-exchange-sdk/binance v0.0.0-20240219145431-c2f696b52ef7
github.com/dasbd72/go-exchange-sdk/manager v0.0.0-20240220143049-a8e14227b876
github.com/dasbd72/go-exchange-sdk/max v0.0.0-20240219145431-c2f696b52ef7
github.com/dasbd72/go-exchange-sdk/okx v0.0.0-20240219145431-c2f696b52ef7
github.com/joho/godotenv v1.5.1
github.com/spf13/cobra v1.8.0
)
Expand Down
16 changes: 8 additions & 8 deletions cmd/ccy-cli/go.sum
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/dasbd72/asset-management/binance v0.0.0-20240219145431-c2f696b52ef7 h1:llyCF+0q9gKd4A1ouI67TXjRo3Vi4Uwl5t/1eMBgooo=
github.com/dasbd72/asset-management/binance v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:7MWjdfOOk6OwTja1SeVFRkyhHB4OkJqoloL9eTDwDUU=
github.com/dasbd72/asset-management/manager v0.0.0-20240220143049-a8e14227b876 h1:fifaiVYL4u5hSGcFmh2/7NYqE2UdzKMRQ+LkaNCAH0Y=
github.com/dasbd72/asset-management/manager v0.0.0-20240220143049-a8e14227b876/go.mod h1:PDJCshwZOhpPUBodpcU1NE0S8FyR2GuyVSRBFoDUTuo=
github.com/dasbd72/asset-management/max v0.0.0-20240219145431-c2f696b52ef7 h1:DqDYujgRlJrWQgSdTws+uzlBdAF4RTtzWxnm99FHtZI=
github.com/dasbd72/asset-management/max v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:nQOAzru+GswuHXPTz2Y4KNxMtryD2FxppkqkHkRQopo=
github.com/dasbd72/asset-management/okx v0.0.0-20240219145431-c2f696b52ef7 h1:C5cv0k6cNyFaTJKyLmDJ5MMf3nffubbq9MPZKTttVG8=
github.com/dasbd72/asset-management/okx v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:pqzDe3U2v2iB61vcAPfQL6KQ0BHBwwWYydZGGVOLbgw=
github.com/dasbd72/go-exchange-sdk/binance v0.0.0-20240219145431-c2f696b52ef7 h1:llyCF+0q9gKd4A1ouI67TXjRo3Vi4Uwl5t/1eMBgooo=
github.com/dasbd72/go-exchange-sdk/binance v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:7MWjdfOOk6OwTja1SeVFRkyhHB4OkJqoloL9eTDwDUU=
github.com/dasbd72/go-exchange-sdk/manager v0.0.0-20240220143049-a8e14227b876 h1:fifaiVYL4u5hSGcFmh2/7NYqE2UdzKMRQ+LkaNCAH0Y=
github.com/dasbd72/go-exchange-sdk/manager v0.0.0-20240220143049-a8e14227b876/go.mod h1:PDJCshwZOhpPUBodpcU1NE0S8FyR2GuyVSRBFoDUTuo=
github.com/dasbd72/go-exchange-sdk/max v0.0.0-20240219145431-c2f696b52ef7 h1:DqDYujgRlJrWQgSdTws+uzlBdAF4RTtzWxnm99FHtZI=
github.com/dasbd72/go-exchange-sdk/max v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:nQOAzru+GswuHXPTz2Y4KNxMtryD2FxppkqkHkRQopo=
github.com/dasbd72/go-exchange-sdk/okx v0.0.0-20240219145431-c2f696b52ef7 h1:C5cv0k6cNyFaTJKyLmDJ5MMf3nffubbq9MPZKTttVG8=
github.com/dasbd72/go-exchange-sdk/okx v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:pqzDe3U2v2iB61vcAPfQL6KQ0BHBwwWYydZGGVOLbgw=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
Expand Down
2 changes: 1 addition & 1 deletion cmd/ccy-cli/max.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"log"

"github.com/dasbd72/asset-management/max"
"github.com/dasbd72/go-exchange-sdk/max"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/ccy-cli/okx.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"os"

"github.com/dasbd72/asset-management/okx"
"github.com/dasbd72/go-exchange-sdk/okx"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions go.work.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/dasbd72/asset-management/binance v0.0.0-20240219071459-322ce6b28840/go.mod h1:7MWjdfOOk6OwTja1SeVFRkyhHB4OkJqoloL9eTDwDUU=
github.com/dasbd72/asset-management/manager v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:zlKOYZrezp5dYoDrWh3Zwo/ll5qXhMQcbh+t6xj0cc8=
github.com/dasbd72/asset-management/max v0.0.0-20240219071459-322ce6b28840/go.mod h1:nQOAzru+GswuHXPTz2Y4KNxMtryD2FxppkqkHkRQopo=
github.com/dasbd72/asset-management/okx v0.0.0-20240219071459-322ce6b28840/go.mod h1:pqzDe3U2v2iB61vcAPfQL6KQ0BHBwwWYydZGGVOLbgw=
github.com/dasbd72/go-exchange-sdk/binance v0.0.0-20240219071459-322ce6b28840/go.mod h1:7MWjdfOOk6OwTja1SeVFRkyhHB4OkJqoloL9eTDwDUU=
github.com/dasbd72/go-exchange-sdk/manager v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:zlKOYZrezp5dYoDrWh3Zwo/ll5qXhMQcbh+t6xj0cc8=
github.com/dasbd72/go-exchange-sdk/max v0.0.0-20240219071459-322ce6b28840/go.mod h1:nQOAzru+GswuHXPTz2Y4KNxMtryD2FxppkqkHkRQopo=
github.com/dasbd72/go-exchange-sdk/okx v0.0.0-20240219071459-322ce6b28840/go.mod h1:pqzDe3U2v2iB61vcAPfQL6KQ0BHBwwWYydZGGVOLbgw=
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
6 changes: 3 additions & 3 deletions manager/balance.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package manager
import (
"context"

"github.com/dasbd72/asset-management/binance"
"github.com/dasbd72/asset-management/max"
"github.com/dasbd72/asset-management/okx"
"github.com/dasbd72/go-exchange-sdk/binance"
"github.com/dasbd72/go-exchange-sdk/max"
"github.com/dasbd72/go-exchange-sdk/okx"
)

type (
Expand Down
4 changes: 2 additions & 2 deletions manager/client.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package manager

import (
"github.com/dasbd72/asset-management/binance"
"github.com/dasbd72/asset-management/okx"
"github.com/dasbd72/go-exchange-sdk/binance"
"github.com/dasbd72/go-exchange-sdk/okx"
)

type Client struct {
Expand Down
8 changes: 4 additions & 4 deletions manager/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/dasbd72/asset-management/manager
module github.com/dasbd72/go-exchange-sdk/manager

go 1.22

require (
github.com/dasbd72/asset-management/binance v0.0.0-20240219145431-c2f696b52ef7
github.com/dasbd72/asset-management/max v0.0.0-20240219145431-c2f696b52ef7
github.com/dasbd72/asset-management/okx v0.0.0-20240219145431-c2f696b52ef7
github.com/dasbd72/go-exchange-sdk/binance v0.0.0-20240219145431-c2f696b52ef7
github.com/dasbd72/go-exchange-sdk/max v0.0.0-20240219145431-c2f696b52ef7
github.com/dasbd72/go-exchange-sdk/okx v0.0.0-20240219145431-c2f696b52ef7
)
12 changes: 6 additions & 6 deletions manager/go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
github.com/dasbd72/asset-management/binance v0.0.0-20240219145431-c2f696b52ef7 h1:llyCF+0q9gKd4A1ouI67TXjRo3Vi4Uwl5t/1eMBgooo=
github.com/dasbd72/asset-management/binance v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:7MWjdfOOk6OwTja1SeVFRkyhHB4OkJqoloL9eTDwDUU=
github.com/dasbd72/asset-management/max v0.0.0-20240219145431-c2f696b52ef7 h1:DqDYujgRlJrWQgSdTws+uzlBdAF4RTtzWxnm99FHtZI=
github.com/dasbd72/asset-management/max v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:nQOAzru+GswuHXPTz2Y4KNxMtryD2FxppkqkHkRQopo=
github.com/dasbd72/asset-management/okx v0.0.0-20240219145431-c2f696b52ef7 h1:C5cv0k6cNyFaTJKyLmDJ5MMf3nffubbq9MPZKTttVG8=
github.com/dasbd72/asset-management/okx v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:pqzDe3U2v2iB61vcAPfQL6KQ0BHBwwWYydZGGVOLbgw=
github.com/dasbd72/go-exchange-sdk/binance v0.0.0-20240219145431-c2f696b52ef7 h1:llyCF+0q9gKd4A1ouI67TXjRo3Vi4Uwl5t/1eMBgooo=
github.com/dasbd72/go-exchange-sdk/binance v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:7MWjdfOOk6OwTja1SeVFRkyhHB4OkJqoloL9eTDwDUU=
github.com/dasbd72/go-exchange-sdk/max v0.0.0-20240219145431-c2f696b52ef7 h1:DqDYujgRlJrWQgSdTws+uzlBdAF4RTtzWxnm99FHtZI=
github.com/dasbd72/go-exchange-sdk/max v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:nQOAzru+GswuHXPTz2Y4KNxMtryD2FxppkqkHkRQopo=
github.com/dasbd72/go-exchange-sdk/okx v0.0.0-20240219145431-c2f696b52ef7 h1:C5cv0k6cNyFaTJKyLmDJ5MMf3nffubbq9MPZKTttVG8=
github.com/dasbd72/go-exchange-sdk/okx v0.0.0-20240219145431-c2f696b52ef7/go.mod h1:pqzDe3U2v2iB61vcAPfQL6KQ0BHBwwWYydZGGVOLbgw=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
2 changes: 1 addition & 1 deletion max/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/dasbd72/asset-management/max
module github.com/dasbd72/go-exchange-sdk/max

go 1.22

Expand Down
2 changes: 1 addition & 1 deletion okx/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/dasbd72/asset-management/okx
module github.com/dasbd72/go-exchange-sdk/okx

go 1.22

Expand Down

0 comments on commit 51514a2

Please sign in to comment.