Infrastructure for simple internal hyperlink handling

This commit is contained in:
Kovid Goyal
2024-06-24 07:54:13 +05:30
parent 9e688720a6
commit 51472e1e88
7 changed files with 217 additions and 20 deletions
+4
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)
}