func WithOrg(name string) ContextOption {
	return func(opts *contextOptions) error {
		opts.orgID = name
		return nil
	}
}
WithOrg uses the configuration and users from the named organization.
package fabsdk
import (
	"github.com/hyperledger/fabric-sdk-go/api/apiconfig"
	"github.com/hyperledger/fabric-sdk-go/api/apifabclient"
	"github.com/hyperledger/fabric-sdk-go/api/apitxn/chclient"
	chmgmt "github.com/hyperledger/fabric-sdk-go/api/apitxn/chmgmtclient"
	resmgmt "github.com/hyperledger/fabric-sdk-go/api/apitxn/resmgmtclient"
	apisdk "github.com/hyperledger/fabric-sdk-go/pkg/fabsdk/api"
	"github.com/pkg/errors"
)
type ClientContext struct {
	provider clientProvider
}
type ContextOption func(opts *contextOptions) error
type contextOptions struct {
	orgID  string
	config apiconfig.Config
}
type ClientOption func(opts *clientOptions) error
type clientOptions struct {
	targetFilter apifabclient.TargetFilter
}
type clientProvider func() (*clientContext, error)
type clientContext struct {
	opts          *contextOptions
	identity      apifabclient.IdentityContext
	providers     providers
	clientFactory apisdk.SessionClientFactory
}
type providers interface {
	apisdk.Providers
}