AlexGustafsson / upmon

A cloud-native, distributed uptime monitor written in Go

Home Page:https://alexgustafsson.github.io/upmon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"stringer": executable file not found

pmsteil opened this issue · comments

Hello, thanks for sharing this code.

I am trying to execute on MacOS... when I run the build I get this:

make build
internal/clustering/clusterstatus.go:3: running "stringer": exec: "stringer": executable file not found in $PATH
monitoring/core/status.go:3: running "stringer": exec: "stringer": executable file not found in $PATH
make: *** [build/upmon] Error 1

How do I install stringer? I tried various things I found in Google, but none seemed to work

Thanks!

Try make install-tools. See the Makefile for the command that it runs. It basically runs go install for each listed dependency.