The only way to teach golisopod those moves is via move relearner. Move relearner is an NPC(Non Playable Charecter) in mount lanakila who can teach any level up move to any Pokemon. She will teach any move golisopod learns though level up in exchange of a heart scale(an item found in the game Mostly hidden in various location). Even the ones golisopod learns in a high level. If you have access to mount lanakila then you can teach those move to golisopod via the move relearner by paying two heart scale. So just grab two heart scale and rush to the mount anakila.
Here are some location for heart scale
Hano Beach (reappears occasionally)
Vast Poni Canyon (sometimes dropped after ambush encounters with Pokémon from flying shadows)
Fishing spots (Routes 7, 8, and 9, Paniola Town, Brooklet Hill, Akala Outskirts)
Konikoni City (restaurant), Malie City (Sushi High Roller), Seafolk Village (restaurant)
Festival Plaza (Haunted houses)
Pickup
Held by wild Luvdisc (50% chance)