RSSAmplifier

Zack Scholl · May 6, 2018

🏊 Shallow `go get`

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

This is a little hack to use shallow clones for new git checkouts with go get. Unfortunately for Gophers, this has been an open issue for three years counting without a workable solution aside from patching the go toolchain yourself. This solution utilizes a git wrapper that determines if a pull/clone is happening and then makes sure it is shallow. The wrapper is only a few lines of code,…

Read on /software/shallow-go-get/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.