I am researching Michael Patrick Coghlan who I believe emigrated to australia ~ 1870 and was ~ 13 years old. He married Annie Short in 1885. They named one of their sons William so the name may be a family name.
Your William Coghlan may be Michael's brother. If so we are researching the same line. Hope this rings a bell!