I use the denisenkom/go-mssqldb package for connecting to SQL server in go but I don't know how to write the connecting code,
what are the arguments of this method : sql.Open()
for example when we say :
db, err := sql.Open("mysql", "user:password@/database")
what do "mysql"
and "user:password@/database"
refer to?
and in which part of the program we should tell the name of the database which we want to use in the program? I mean in which part of the code we introduce the name of the database we want to use?