Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for initPostgreSQL (0.1 sec)

  1. internal/event/target/postgresql.go

    			return err
    		}
    	}
    
    	return nil
    }
    
    func (target *PostgreSQLTarget) init() error {
    	return target.initOnce.Do(target.initPostgreSQL)
    }
    
    func (target *PostgreSQLTarget) initPostgreSQL() error {
    	args := target.args
    
    	db, err := sql.Open("postgres", target.connString)
    	if err != nil {
    		return err
    	}
    	target.db = db
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top