Depends on alot of things, size of tank for example,
Best not keep goldfish with axolotl,they can injure the axolotls or the axolotls could eat the fish if they got big enough.
Either the above will happen or the goldfish will nip at the axolotls frill (gills) or suck on their slime coating, both of which would lead to probable death of the axolotl