Go parser: Build connection string in function