func WithIssueAttribute(attr, value interface{}) IssueOption {
	return func(o *IssueOptions) error {
		o.Attributes[attr] = value
		return nil
	}
}
WithIssueAttribute sets an attribute to be used to customize the issue command
package token
import (
	"encoding/json"
	view2 "github.com/hyperledger-labs/fabric-smart-client/platform/view"
	"github.com/hyperledger-labs/fabric-smart-client/platform/view/view"
	"github.com/pkg/errors"
	"github.com/hyperledger-labs/fabric-token-sdk/token/driver"
	"github.com/hyperledger-labs/fabric-token-sdk/token/token"
)
type IssueOptions struct {
	Attributes map[interface{}]interface{}
}
func compileIssueOptions(opts ...IssueOption) (*IssueOptions, error) {
	txOptions := &IssueOptions{}
	for _, opt := range opts {
		if err := opt(txOptions); err != nil {
			return nil, err
		}
	}
	return txOptions, nil
}
type IssueOption func(*IssueOptions) error