add suggestions

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2025-09-24 20:08:52 +02:00
parent 6dc672fcc7
commit f595823fd2

View File

@@ -12,6 +12,7 @@ import (
var (
knownColumnNames = []string{
"date",
"creation_date",
"phone",
"username",
"iban",
@@ -35,34 +36,43 @@ var (
}
suggestions = map[string]string{
"user": "username",
"login": "username",
"sex": "gender",
"genre": "gender",
"ipaddress": "ip",
"firstname": "first_name",
"prenom": "first_name",
"lastname": "last_name",
"nom": "last_name",
"fullname": "full_name",
"nomcomplet": "full_name",
"adresse": "address",
"streetaddress": "address",
"ville": "city",
"pays": "country",
"mail": "email",
"zip": "postal_code",
"postalcode": "postal_code",
"zipcode": "postal_code",
"postal": "postal_code",
"codepostal": "postal_code",
"hash": "password_hash",
"hashedpassword": "password_hash",
"hashpassword": "password_hash",
"passwordhashed": "password_hash",
"birthdate": "birth_date",
"dob": "birth_date",
"dateofbirth": "birth_date",
"user": "username",
"login": "username",
"sex": "gender",
"civilite": "gender",
"genre": "gender",
"ipaddress": "ip",
"firstname": "first_name",
"prenom": "first_name",
"lastname": "last_name",
"nom": "last_name",
"fullname": "full_name",
"nomcomplet": "full_name",
"adresse": "address",
"streetaddress": "address",
"ville": "city",
"pays": "country",
"mail": "email",
"zip": "postal_code",
"postalcode": "postal_code",
"zipcode": "postal_code",
"postal": "postal_code",
"codepostal": "postal_code",
"hash": "password_hash",
"hashedpassword": "password_hash",
"hashpassword": "password_hash",
"passwordhashed": "password_hash",
"birthdate": "birth_date",
"dob": "birth_date",
"dateofbirth": "birth_date",
"datenaissance": "birth_date",
"datecreation": "creation_date",
"datedecreation": "creation_date",
"createdat": "creation_date",
"phonenumber": "phone",
"numero": "phone",
"numerotelephone": "phone",
"numeromobile": "phone",
}
)