Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

undefinedlabs/scope-go-agent-installer

Repository files navigation

Scope Go Agent Installer

Tool to install the scope go agent in an existing project by adding a file with the import autoinstrumentation in each package containing tests, as seen in the documentation: https://docs.scope.dev/docs/go-installation

Installation:

go install github.com/undefinedlabs/scope-go-agent-installer

This build and copy the binary to: ~/go/bin/scope-go-agent-installer

Usage:

scope-go-agent-installer -folder={PROJECT FOLDER}

Example:

git clone [email protected]:gin-gonic/gin.git
cd gin
scope-go-agent-installer -folder=.
go test ./...