OSDN Git Service

Merge pull request #201 from Bytom/v0.1
[bytom/vapor.git] / vendor / github.com / tendermint / go-wire / gen / ex / foo.go
diff --git a/vendor/github.com/tendermint/go-wire/gen/ex/foo.go b/vendor/github.com/tendermint/go-wire/gen/ex/foo.go
deleted file mode 100644 (file)
index 237ec4a..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package ex
-
-import (
-       "fmt"
-
-       "github.com/tendermint/tmlibs/common"
-)
-
-// +gen wrapper:"Foo,Impl[Bling,*Fuzz],blng,fzz"
-type FooInner interface {
-       Bar() int
-}
-
-type Bling struct{}
-
-func (b Bling) Bar() int {
-       return common.RandInt()
-}
-
-type Fuzz struct{}
-
-func (f *Fuzz) Bar() int {
-       fmt.Println("hello")
-       return 42
-}