a go class for page