package main import ( "fmt" "log" "github.com/jmoiron/sqlx" _ "github.com/lib/pq" ) // Employee は構造体です type Employee struct { id string number string } func main() { db, err := sqlx.Connect("postgres", "host=db port=5432 user=root sslmode=disable") if err != nil { log.Fatalln(err) } var nums = []int{4445, 5432} query, args, err := sqlx.In("SELECT * FROM employee WHERE emp_number IN (?);", nums) qu
