Browse Source

Change codegen name holder->wrapper

pull/1782/head
Ethan Frey 8 years ago
parent
commit
db5cb8d92c
7 changed files with 7 additions and 7 deletions
  1. +1
    -1
      glide.lock
  2. +1
    -1
      priv_key.go
  3. +1
    -1
      privkeyinner_wrapper.go
  4. +1
    -1
      pub_key.go
  5. +1
    -1
      pubkeyinner_wrapper.go
  6. +1
    -1
      signature.go
  7. +1
    -1
      signatureinner_wrapper.go

+ 1
- 1
glide.lock View File

@ -88,7 +88,7 @@ imports:
- edwards25519
- extra25519
- name: github.com/tendermint/go-wire
version: 59ba5af720a8cbaf5594595e1d8aae23bfd18e31
version: 97beaedf0f4dbc035309157c92be3b30cc6e5d74
subpackages:
- data
- data/base58


+ 1
- 1
priv_key.go View File

@ -20,7 +20,7 @@ func PrivKeyFromBytes(privKeyBytes []byte) (privKey PrivKey, err error) {
// DO NOT USE THIS INTERFACE.
// You probably want to use PubKey
// +gen holder:"PrivKey,Impl[PrivKeyEd25519,PrivKeySecp256k1],ed25519,secp256k1"
// +gen wrapper:"PrivKey,Impl[PrivKeyEd25519,PrivKeySecp256k1],ed25519,secp256k1"
type PrivKeyInner interface {
AssertIsPrivKeyInner()
Bytes() []byte


privkeyinner_holder.go → privkeyinner_wrapper.go View File


+ 1
- 1
pub_key.go View File

@ -22,7 +22,7 @@ func PubKeyFromBytes(pubKeyBytes []byte) (pubKey PubKey, err error) {
// DO NOT USE THIS INTERFACE.
// You probably want to use PubKey
// +gen holder:"PubKey,Impl[PubKeyEd25519,PubKeySecp256k1],ed25519,secp256k1"
// +gen wrapper:"PubKey,Impl[PubKeyEd25519,PubKeySecp256k1],ed25519,secp256k1"
type PubKeyInner interface {
AssertIsPubKeyInner()
Address() []byte


pubkeyinner_holder.go → pubkeyinner_wrapper.go View File


+ 1
- 1
signature.go View File

@ -18,7 +18,7 @@ func SignatureFromBytes(sigBytes []byte) (sig Signature, err error) {
// DO NOT USE THIS INTERFACE.
// You probably want to use Signature.
// +gen holder:"Signature,Impl[SignatureEd25519,SignatureSecp256k1],ed25519,secp256k1"
// +gen wrapper:"Signature,Impl[SignatureEd25519,SignatureSecp256k1],ed25519,secp256k1"
type SignatureInner interface {
AssertIsSignatureInner()
Bytes() []byte


signatureinner_holder.go → signatureinner_wrapper.go View File


Loading…
Cancel
Save