Work on #61: Add support for ICMP

+ Update dependencies
This commit is contained in:
TwinProduction committed 2020-12-25 00:07:18 -05:00
1 parent c86173d46f
commit 83a5813daf
1004 files changed
+182274 -64323

No files matched your search

+4 -2
View File
@@ -46,17 +46,19 @@ func StringKeySet(theMap interface{}) String {
}
// Insert adds items to the set.
func (s String) Insert(items ...string) {
func (s String) Insert(items ...string) String {
for _, item := range items {
s[item] = Empty{}
}
return s
}
// Delete removes all items from the set.
func (s String) Delete(items ...string) {
func (s String) Delete(items ...string) String {
for _, item := range items {
delete(s, item)
}
return s
}
// Has returns true if and only if item is contained in the set.