skip to Main Content

Visual Studio Code – How to set cgo env variable before vscode launch code?

I have golang code like: import ( "github.com/bobertlo/go-mpg123/mpg123" ) func main() { ... } From terminal, to build this code. I must set below env variable: export C_INCLUDE_PATH=$C_INCLUDE_PATH:/opt/homebrew/Cellar/mpg123/1.32.3/include export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/Cellar/mpg123/1.32.3/lib Now I want build using vscode. I configure the launch.json,…

VIEW QUESTION

PostgreSQL tries to connect to wrong DB

Postgresql tries to connect to a Db with the same name as the user, even when I specify the DB name in the connection string. Cadena de conexión: host=localhost port=5432 user=carsUser password= dbname=the-new-cars sslmode=disable 2024/06/22 16:00 Error al hacer ping…

VIEW QUESTION
Back To Top
Search