Last active
July 1, 2020 11:55
-
-
Save bykof/7753073cf3c8e409205e49adae0feea0 to your computer and use it in GitHub Desktop.
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 dingo_example | |
import ( | |
"example.com/dingo_example/infrastructure" | |
"example.com/dingo_example/interfaces" | |
) | |
const ProductApi = "https://my-product-api.com" | |
func main() { | |
productAPI := infrastructure.ConcreteProductAPI{ProductApi} | |
appController := interfaces.AppController{} | |
appController.New(&productAPI) | |
appController.PrintProducts() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment