func NewEventsDB(filePath string) (*sql.DB, error) {
	if filePath == "" {
		return nil, fmt.Errorf("empty file path for sqlite database")
	}
	return createEventsDB(filePath)
}
// NewEventsDB returns an sql database object, initialized with necessary tables.
NewEventsDB returns an sql database object, initialized with necessary tables.
// NewEventsDB returns an sql database object initialized with necessary tables .
func NewEventsDB(filePath string) (*sql.DB, error) {
	if filePath == "" {
		return nil, fmt.Errorf("empty file path for sqlite database")
	}
	return createEventsDB(filePath)
}
func NewEventsDB ( filePath string ) ( * sql . DB , error ) { if filePath == " " { return nil , fmt . Errorf ( " " ) } return createEventsDB ( filePath ) }
NewEventsDB returns an sql database object, initialized with necessary tables.
NewEventsDB returns an sql database object initialized with necessary tables .