This project is for engine whatsapp multi-session using library https://github.com/tulir/whatsmeow to use emulate whatsapp web.
a. gcc (dev essential libs on linux) or using mingw on windows platform b. golang version >= 1.20
a. windows platform
- install mingw or gcc from trusted sources like choco or another package manager
- build on windows on this command
set GOOS=windows && set GOARCH=amd64 && set CGO_ENABLED=1 && go build -o bin/whatsapp_multi_session-windows-amd64.exe
b. linux or unix platform
- install gcc or using
sudo apt install build-essential
- build on linux or unix to target linux based on your server
or to another platform such as windows
env GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o bin/whatsapp_multi_session-linux-amd64
env GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build -o bin/whatsapp_multi_session-windows-amd64.exe