Infrastructure for simple internal hyperlink handling

This commit is contained in:
Kovid Goyal
2024-05-04 13:44:09 +05:30
parent 9e688720a6
commit 51472e1e88
7 changed files with 217 additions and 20 deletions

View File

@@ -41,6 +41,10 @@ func (self *Set[T]) Has(val T) bool {
return ok
}
func (self *Set[T]) Clear() {
clear(self.items)
}
func (self *Set[T]) Len() int {
return len(self.items)
}