My compiled Go code does not end with an extension on Linux.
Any tips for handling ignoring these in the .gitignore file?
Keep your build products separate from your source code. This has several advantages:
rm -rf objdir
will remove files that a buggy make clean
will missgit clean -dxf
will clean your source tree, but won't touch your built filesNote that GNU Automake and Make support a feature called VPATH to make it easy to separate the source tree from the build tree.