Files
grafana/vendor/github.com/brianvoe/gofakeit/bool.go
T
Oleg Gaidarenko 35f227de11 Feature: LDAP refactoring (#16950)
* 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
2019-05-17 14:57:26 +03:00

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
}