The structure of gold cyanide, AuCN, has been determined at 10 and 300 K using total neutron diffraction. The structure consists of infinite [bond]Au[bond](CN)[bond]Au[bond](CN)[bond] linear chains, hexagonally packed, with the gold atoms in sheets. The Au-C and Au-N bond lengths are found to be identical, with d(Au(-C/N) = 1.9703(5) A at 300 K. This work supersedes a previous study, by others, which used Rietveld analysis of neutron Bragg diffraction in isolation, and found these bonds to have significantly different lengths (Delta d = 0.24 A) at 300 K. The total correlation function, T(r), at 10 and 300 K, has been modeled using information derived from total diffraction. The broadening of inter- and intrachain correlations differs markedly due to random displacements of the chains in the direction of the chain axes. This is a consequence of the relatively weak bonding between the chains. An explanation for the negative thermal expansion in the c-direction, which occurs between 10 and 300 K, is presented.