私信  •  关注

Vitah

Vitah 最近创建的主题
Vitah 最近回复了

您应该这样打开:

db, err := sql.Open("mysql", "root:root@tcp(mysql:3306)/GoLife")

mysql 是Docker编写服务名。