Richard Bucker

First candidate for a Gollang idiom

Posted at — Oct 13, 2013

When developing a package in Gollang and that package is made up of several  multiple source files. If more than one source file imports from unknown package whether that’s a third-party library or core library then those APIs are candidates for a functional layer within the package itself.

The intent is to reduce the number of files being imported. This is partially to make the code more readable but it’s also to eliminate some of the redundant editing as the feature functions are added and removed from the package itself.