// Close should be called as a part of cleanup process
// in order to close the underlying sql connection
Close should be called as a part of cleanup process
in order to close the underlying sql connection
// Close should be called as a part of cleanup process // in order to close the underlying sql connection
func (es *EventStore) Close() error {
	sqlDB, err := es.db.DB()
	if err != nil {
		return err
	}
	return sqlDB.Close()
}
func ( es * EventStore ) Close ( ) error { sqlDB , err := es . db . DB ( ) if err != nil { return err } return sqlDB . Close ( ) }
Close should be called as a part of cleanup process
in order to close the underlying sql connection
Close should be called as a part of cleanup process in order to close the underlying sql connection