github.com/benma/gogen@v0.0.0-20160826115606-cf49914b915a/exportdefault/_testpkg/unexported_default_exported_interface_funcs.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  // UDEIEmbedded is a wrapper around unexportedDefaultExportedInterface.Embedded
    16  func UDEIEmbedded() {
    17  	unexportedDefaultExportedInterface.Embedded()
    18  }
    19  
    20  // UDEIWrapped is a wrapper around unexportedDefaultExportedInterface.Wrapped
    21  func UDEIWrapped(something string) (io.Writer, error) {
    22  	return unexportedDefaultExportedInterface.Wrapped(something)
    23  }
    24  
    25  // UDEIWrappedVariadric is a wrapper around unexportedDefaultExportedInterface.WrappedVariadric
    26  func UDEIWrappedVariadric(something ...string) error {
    27  	return unexportedDefaultExportedInterface.WrappedVariadric(something...)
    28  }