Skip to content

Commit

Permalink
restructure Go wrapper for distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot committed Mar 1, 2024
1 parent ef48b84 commit eeb5711
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion languages/go/bitwarden_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sdk
import (
"encoding/json"

"github.com/bitwarden/sdk/languages/go/internal/cinterface"
"github.com/bitwarden/sm-sdk-go/cinterface"
)

type BitwardenClient struct {
Expand Down
2 changes: 1 addition & 1 deletion languages/go/command_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sdk
import (
"encoding/json"

"github.com/bitwarden/sdk/languages/go/internal/cinterface"
"github.com/bitwarden/sm-sdk-go/cinterface"
)

type CommandRunnerInterface interface {
Expand Down
2 changes: 1 addition & 1 deletion languages/go/example/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"os"

sdk "github.com/bitwarden/sdk/languages/go"
sdk "github.com/bitwarden/sm-sdk-go"
"github.com/gofrs/uuid"
)

Expand Down
4 changes: 2 additions & 2 deletions languages/go/example/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module example

replace github.com/bitwarden/sdk/languages/go => ../
replace github.com/bitwarden/sm-sdk-go => ../

go 1.20

require (
github.com/bitwarden/sdk/languages/go v0.0.0-00010101000000-000000000000
github.com/bitwarden/sm-sdk-go v0.0.0-00010101000000-000000000000
github.com/gofrs/uuid v4.4.0+incompatible
)
5 changes: 4 additions & 1 deletion languages/go/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module github.com/bitwarden/sdk/languages/go
module github.com/bitwarden/sm-sdk-go

go 1.18

require github.com/gofrs/uuid v4.4.0+incompatible

replace github.com/bitwarden/sm-sdk-go => ./go
replace github.com/bitwarden/sm-sdk-go/cinterface => ./go/cinterface
File renamed without changes.

0 comments on commit eeb5711

Please sign in to comment.