My compiled Go code does not end with an extension on Linux.
Any tips for handling ignoring these in the .gitignore file?
If you are using the go tool to build your code you can use the -o flag to specify the output file name, so you can for example use go build -o bin/elf and then add bin/* to your .gitignore file.
go
-o
go build -o bin/elf
bin/*
.gitignore