Extract data into a go struct.