* incapsulates multipleldap logic under one module * abstracts users upsert and get logic * changes some of the text error messages and import sort sequence * heavily refactors the LDAP module – LDAP module now only deals with LDAP related behaviour * integrates affected auth_proxy module and their tests * refactoring of the auth_proxy logic
11 lines
146 B
Go
11 lines
146 B
Go
package gofakeit
|
|
|
|
// Bool will generate a random boolean value
|
|
func Bool() bool {
|
|
if randIntRange(0, 1) == 1 {
|
|
return true
|
|
}
|
|
|
|
return false
|
|
}
|