From 65bf7be9958662d7881ee992874889a5dbbe6ef5 Mon Sep 17 00:00:00 2001 From: Samuel Stauffer Date: Wed, 19 Mar 2014 14:27:01 -0700 Subject: Don't capitalize function arguments --- search.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'search.go') diff --git a/search.go b/search.go index 01757ce..f104d8d 100644 --- a/search.go +++ b/search.go @@ -98,17 +98,17 @@ type Entry struct { Attributes []*EntryAttribute } -func (e *Entry) GetAttributeValues(Attribute string) []string { +func (e *Entry) GetAttributeValues(attribute string) []string { for _, attr := range e.Attributes { - if attr.Name == Attribute { + if attr.Name == attribute { return attr.Values } } return []string{} } -func (e *Entry) GetAttributeValue(Attribute string) string { - values := e.GetAttributeValues(Attribute) +func (e *Entry) GetAttributeValue(attribute string) string { + values := e.GetAttributeValues(attribute) if len(values) == 0 { return "" } -- cgit v1.2.3