example from golang doc