From 30e27c15c4a466f8ba2e1bf8843430119ccf7e08 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Mon, 19 Mar 2018 16:18:11 +0000
Subject: [PATCH] Add docstring to ParseScope

---
 ldap/parse.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ldap/parse.go b/ldap/parse.go
index 22a285c..2aec0b2 100644
--- a/ldap/parse.go
+++ b/ldap/parse.go
@@ -6,6 +6,8 @@ import (
 	"gopkg.in/ldap.v2"
 )
 
+// ParseScope parses a string representation of an LDAP scope into the
+// proper enum value.
 func ParseScope(s string) (int, error) {
 	switch s {
 	case "base":
-- 
GitLab