Skip to content

Commit

Permalink
[FAB-4932] Fix README
Browse files Browse the repository at this point in the history
The README has incorrect instructions for obtaining the SDK.

Change-Id: If40171e899e791072ad5ff824b2c51e78be33f7c
Signed-off-by: Firas Qutishat <firas.qutishat@securekey.com>
  • Loading branch information
fqutishat committed Jun 22, 2017
1 parent 1a2d803 commit 941469b
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Obtain the client SDK packages for Fabric and Fabric CA.

```
# Hyperledger Fabric client package
go get -u github.com/hyperledger/fabric-sdk-go/fabric-client
go get -u github.com/hyperledger/fabric-sdk-go/pkg/fabric-client
# Hyperledger Fabric CA client package
go get -u github.com/hyperledger/fabric-sdk-go/fabric-ca-client
go get -u github.com/hyperledger/fabric-sdk-go/pkg/fabric-ca-client
```

You're good to go, happy coding! Check out the examples for usage demonstrations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright SecureKey Technologies Inc. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/

package client
package fabricclient

import (
"encoding/json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright SecureKey Technologies Inc. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/

package client
package fabricclient

import (
"fmt"
Expand Down Expand Up @@ -121,7 +121,7 @@ func TestClientMethods(t *testing.T) {
func TestCreateChannel(t *testing.T) {
client := NewClient(mocks.NewMockConfig())

configTx, err := ioutil.ReadFile("../../../test/fixtures/channel/mychannel.tx")
configTx, err := ioutil.ReadFile("../../test/fixtures/channel/mychannel.tx")
if err != nil {
t.Fatalf(err.Error())
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/fabric-client/events/eventmocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"time"

api "github.com/hyperledger/fabric-sdk-go/api"
client "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/client"
client "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client"
mocks "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/mocks"

internal "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/internal"
Expand Down
2 changes: 1 addition & 1 deletion pkg/fabric-client/orderer/orderer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"time"

api "github.com/hyperledger/fabric-sdk-go/api"
client "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/client"
client "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client"
mocks "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/mocks"

ab "github.com/hyperledger/fabric/protos/orderer"
Expand Down
2 changes: 1 addition & 1 deletion pkg/fabric-client/peer/peer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package peer
import (
"testing"

client "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/client"
client "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client"
mocks "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/mocks"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/util/client_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package util
import (
"fmt"

client "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/client"
client "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client"
sdkUser "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/user"

api "github.com/hyperledger/fabric-sdk-go/api"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/fabric_ca_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

api "github.com/hyperledger/fabric-sdk-go/api"

client "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/client"
client "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client"
kvs "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/keyvaluestore"
sdkUser "github.com/hyperledger/fabric-sdk-go/pkg/fabric-client/user"
bccspFactory "github.com/hyperledger/fabric/bccsp/factory"
Expand Down

0 comments on commit 941469b

Please sign in to comment.