Custom Packages: Folder Structure, go install and go test
This lesson covers important concepts like folder structure of a custom package, testing the executable and installation under workspace.
For demonstration, we take a simple package uc
which has a function UpperCase
to turn a string into uppercase letters. This is just for demonstration purposes (it wraps the same functionality from package “strings”), but the same techniques ...