Design a class in Golang