fmt
This commit is contained in:
parent
50db4deb16
commit
45a2988471
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue