Skip to content

Commit 6d9fa31

Browse files
created model for ldap search user
1 parent b09eed6 commit 6d9fa31

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

internal/search/model.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package search
2+
3+
/* struct for returning common name, mail, and username */
4+
type User struct {
5+
CN string `json:"cn"`
6+
Mail string `json:"mail"`
7+
Username string `json:"username"`
8+
}

0 commit comments

Comments
 (0)