Last active
August 9, 2020 06:36
-
-
Save ShaileshSurya/e267fa83e2698a62f1fa25dbcbe7f846 to your computer and use it in GitHub Desktop.
Factory returning struct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dependfactory | |
import ( | |
dep "github.com/ShaileshSurya/go-external-mocking/dependfactory/dependency" | |
"github.com/ShaileshSurya/go-external-mocking/dependfactory/interfacer" | |
) | |
// GetExternal ... | |
func GetExternal() interfacer.External { | |
return dep.External{} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gist was created as a part of the medium blog.