This commit is contained in:
Mitchell Hashimoto 2014-07-14 21:56:34 -07:00
parent 50db4deb16
commit 45a2988471
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ import (
type Map map[string]string type Map map[string]string
// Contains returns true if the map contains the given key. // Contains returns true if the map contains the given key.
func (m Map) Contains (key string) bool { func (m Map) Contains(key string) bool {
for _, k := range m.Keys() { for _, k := range m.Keys() {
if k == key { if k == key {
return true return true