Gokarna is famous for having five beaches that spread southward from the largest of them, Gokarna Beach. Each is very different in character; we have visited four of them, not quite making it to the fifth. (You might want to read this overview post about Gokarna, which also has a bit about the temples.)
Gokarna Beach is easily five kilometers long from headland to headland. We’ve walked most of it, stopping at Namaste Garden a couple of times for breakfast or tea.