Switching from a predominant background in PHP to Golang has been an insightful journey, and if you are like me who hasn’t come from a strictly typed language background it can be a little daunting at first. Please remember that Laravel is a framework, so it’s not like you can just pick up Go and build like you were building something in Laravel.
If you wanted to add a dependency in your Go project just run go get with the package name
I wouldn’t usually structure a Go project in this way, but to help keep things familiar we will follow this pattern later in the series.
Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox.Explore