simple data structure implements in go