Skip to content

Commit

Permalink
delete for variables type
Browse files Browse the repository at this point in the history
  • Loading branch information
sohlich committed Jul 13, 2016
1 parent 7cf22cf commit 3d5c20e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions protobuf.go
Expand Up @@ -21,3 +21,7 @@ func (h Variables) Add(key, value string) {
h.Set(key, value)
}
}

func (h Variables) Del(key string) {
delete(h, key)
}

0 comments on commit 3d5c20e

Please sign in to comment.