Skip to content
Snippets Groups Projects
Commit 30e27c15 authored by ale's avatar ale
Browse files

Add docstring to ParseScope

parent be4da336
No related branches found
No related tags found
No related merge requests found
......@@ -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":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment