Linter for package ldap
Closed this issue · 0 comments
nabbar commented
ldap/ldap.go:40:69: Top level comment should end in a period (godot)
//HelperLDAP struct use to manage connection to server and request it
^
ldap/ldap.go:51:62: Top level comment should end in a period (godot)
//NewLDAP build a new LDAP helper based on config struct given
^
ldap/ldap.go:65:71: Top level comment should end in a period (godot)
//SetCredentials used to defined the BindDN and password for connection
^
ldap/ldap.go:71:71: Top level comment should end in a period (godot)
//SetCredentials used to defined the BindDN and password for connection
^
ldap/ldap.go:166:62: Top level comment should end in a period (godot)
//Check used to check if connection success (without any bind)
^
ldap/ldap.go:176:39: Top level comment should end in a period (godot)
//Close used to close connection object
^
ldap/ldap.go:184:56: Top level comment should end in a period (godot)
//AuthUser used to test bind given user uid and password
^
ldap/ldap.go:200:44: Top level comment should end in a period (godot)
//Connect used to connect and bind to server
^
ldap/ldap.go:240:63: Top level comment should end in a period (godot)
//UserInfo used to retrieve the information of a given username
^
ldap/ldap.go:314:101: Top level comment should end in a period (godot)
//UserIsInGroup used to check if a given username is a group member of a list of reference group name
^
ldap/ldap.go:342:69: Top level comment should end in a period (godot)
//UsersOfGroup used to retrieve the member list of a given group name
^
ldap/ldap.go:368:58: Top level comment should end in a period (godot)
//ParseEntries used to clean attributes of an object class
^
ldap/error.go:55:2: missing cases in switch of type errors.CodeError: UNK_ERROR (exhaustive)
switch code {
^
ldap/ldap.go:73:2: missing cases in switch of type TLSMode: tlsmode_init (exhaustive)
switch tlsMode {
^
ldap/model.go:45:2: missing cases in switch of type TLSMode: tlsmode_init (exhaustive)
switch m {
^