![Learn Data Structures and Algorithms with Golang](https://wfqqreader-1252317822.image.myqcloud.com/cover/744/36698744/b_36698744.jpg)
上QQ阅读APP看书,第一时间看更新
The DeleteElement method
The DeleteElement method deletes the element from integerMap using the delete method. This method removes the element from the integerMap of the set, as follows:
//deletes the element from the set
func (set *Set) DeleteElement(element int) {
delete(set.integerMap,element)
}