Golang SQL 쿼리 변수 치환 저는 고킷 서비스를 더 잘 사용하기 위해 가변적인 대체가 필요한 sql 쿼리를 가지고 있습니다. 있습니다dep&org예를 들어, 내 휴식 서비스의 일부인 사용자 입력으로:dep = 'abc'그리고.org = 'def'. 다음과 같은 것을 시도해 봤습니다. rows, err := db.Query( "select name from table where department='&dep' and organisation='&org'", ) 그리고: rows, err := db.Query( "select name from table where department=? and organisation=?", dep , org, ) 이로 인해 오류가 발생했습니다.sql: statement..