golang code review cookie
rebuild