Magic trick in golang