- Set ENV variables
Examples:
export SMTP_HOST="smtp.gmail.com"
export SMTP_PORT="587"
export SMTP_PASSWORD="asdfdsaf"
export SENDER_EMAIL="[email protected]"
export DEST_EMAIL="[email protected]"
export PACKET_LOSS_PERCENTAGE=20
Compiling for Raspberry pi
env GOOS=linux GOARCH=arm GOARM=6 go build