package settings

import "github.com/jinzhu/gorm"

var DB *gorm.DB

const (
	TimeLayout = "15:04"
	dateLayout = ""
	login      = "dbuser"
	password   = "QWEasd123"
	ipaddr     = "192.168.10.14"
	port       = "3306"
	dbname     = "Schedule"
	protocol   = "tcp"
	args       = "parseTime=true&charset=utf8&loc=Local"
	CONSTR     = login + ":" + password + "@" + protocol + "(" + ipaddr + ":" + port + ")/" + dbname + "?" + args
	// clientLDAP= &ldap.LDAPClient{
	// 	Base:         "dc=ttit,dc=local",
	// 	Host:         "ttit.local",
	// 	Port:         389,
	// 	UseSSL:       false,
	// 	BindDN:       "uid=User,ou=People,dc=ttit,dc=local",
	// 	BindPassword: "Password",
	// 	UserFilter:   "(uid=%s)",
	// 	GroupFilter: "(memberUid=%s)",
	// 	Attributes:   []string{"givenName", "sn", "mail", "uid"},
	// }
)
