Development environment: vagrant,
vagrant installed on
windows10 runs centos7,
centos7 installs Golang and PostgreSQL, compiles and runs go code.
problem:
cannot connect to PostgreSQL using gorm. Gorm document is written as follows:
:
:
20panic("failed to connect database")
windowsnavicatPostgreSQL:
what is the reason for compiling errors?