Your sprintf is incorrect. It should be
str := fmt.Sprint("SELECT cidr FROM %v WHERE asn=?;", conf.SQLiteASN2CIDR)