github.com/benma/gogen@v0.0.0-20160826115606-cf49914b915a/exportdefault/testdata/simple_example.go (about) 1 /* 2 * CODE GENERATED AUTOMATICALLY WITH goexportdefault 3 * THIS FILE MUST NOT BE EDITED BY HAND 4 * 5 * Install goexportdefault with: 6 * go get github.com/ernesto-jimenez/gogen/cmd/goexportdefault 7 */ 8 9 package testpkg 10 11 import ( 12 io "io" 13 ) 14 15 // Embedded is a wrapper around ExportedDefaultExportedInterface.Embedded 16 func Embedded() { 17 ExportedDefaultExportedInterface.Embedded() 18 } 19 20 // Wrapped is a wrapper around ExportedDefaultExportedInterface.Wrapped 21 func Wrapped(something string) (io.Writer, error) { 22 return ExportedDefaultExportedInterface.Wrapped(something) 23 } 24 25 // WrappedVariadric is a wrapper around ExportedDefaultExportedInterface.WrappedVariadric 26 func WrappedVariadric(something ...string) error { 27 return ExportedDefaultExportedInterface.WrappedVariadric(something...) 28 }