-
Marc Carré authored
``` $ gvt delete golang.org/x/net/context $ gvt fetch golang.org/x/net/context 2018/07/23 18:03:49 Fetching: golang.org/x/net/context $ git grep -l "golang.org/x/net/context" | grep -v vendor | xargs sed -i '' 's:golang.org/x/net/context:context:g' $ git grep -l "context/ctxhttp" | grep -v vendor | xargs sed -i '' 's:context/ctxhttp:golang.org/x/net/context/ctxhttp:g' $ gofmt -s -w app $ gofmt -s -w common $ gofmt -s -w probe $ gofmt -s -w prog $ gofmt -s -w tools ``` fixed a bunch of: ``` cannot use func literal (type func("github.com/weaveworks/scope/vendor/golang.org/x/net/context".Context) error) as type func("context".Context) error ```
2ba50b8b