* 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
29 lines
664 B
Go
29 lines
664 B
Go
package data
|
|
|
|
// Data consists of the main set of fake information
|
|
var Data = map[string]map[string][]string{
|
|
"person": Person,
|
|
"contact": Contact,
|
|
"address": Address,
|
|
"company": Company,
|
|
"job": Job,
|
|
"lorem": Lorem,
|
|
"internet": Internet,
|
|
"file": Files,
|
|
"color": Colors,
|
|
"computer": Computer,
|
|
"payment": Payment,
|
|
"hipster": Hipster,
|
|
"beer": Beer,
|
|
"hacker": Hacker,
|
|
"currency": Currency,
|
|
"log_level": LogLevels,
|
|
"timezone": TimeZone,
|
|
"vehicle": Vehicle,
|
|
}
|
|
|
|
// IntData consists of the main set of fake information (integer only)
|
|
var IntData = map[string]map[string][]int{
|
|
"status_code": StatusCodes,
|
|
}
|