539 B
539 B
Tactical RMM Agent
https://github.com/amidaware/tacticalrmm
building the agent - linux
env CGO_ENABLED=0 GOOS=<GOOS> GOARCH=<GOARCH> go build -ldflags "-s -w"
building the agent - windows
$env:CGO_ENABLED="0";$env:GOOS="windows";$env:GOARCH="amd64"; go build -ldflags "-s -w"
tests
Navigate to repo directory
go test ./... -vet=off
Add to settings.json
"gopls": {
"build.buildFlags": [
"-tags=DEBUG"
]
},
"go.testFlags": [
"-vet=off"
],
"go.testTags": "TEST",