Error processing "go build"

i get this error trying to set up evil ginx ( ~/test/evilginx2# go build

go.uber.org/multierr

vendor/go.uber.org/multierr/error.go:209:20: undefined: atomic.Bool

note: module requires Go 1.19)

its go version mistmatch ,

the mesage is recomending go version 1.19

but i think u got different version
frist check your go version using

go version

if its not matching with version then remove it

which go
rm go/path/from/last/command

then install new version
check following post, just replace goversion 1.22.8 with 1.19

is this solved >?
pls let me know if you need further help .