It's easy and only requires 2days to visit gokarna.
Day 1: complete beach trek from paradise or belakan to ok beach. watch beautiful sunset in om beach. Reach murdeshwar and spend night there. Day 2: Go to shiva darshan and on way back visit viboothi falls. You will cover all beaches and places to visit.