Added Go formating on write