Software Engineering - Winder.AI Blog

Industrial insight and articles from Winder.AI, focusing on the topic Software Engineering


Gocoverage - Simplifying Go Code Coverage

Tue Oct 11, 2016, by phil-winder, in Software Engineering

Go introduced vendoring into version 1.5 of the language. The vendor folder is used as a dependency cache for a project. Because of the unique way Go handles dependencies, the cache is full code from an entire repository; worts and all. Go will search the vendor folder for its dependencies before it searches the global GOPATH. Tools have emerged to corral the vendor folder and one of my favourites is glide.