github.com/go-courier/sqlx/v2@v2.23.13/connectors/postgresql/interpolate_params_test.go (about) 1 package postgresql 2 3 //func TestInterpolateParams(t *testing.T) { 4 // e := builder.Expr("INSERT INTO t (f_id, f_name, f_photo, f_created) VALUES (?, ?, ?, ?, ?)", 1, "name", []byte("0101000020110F00006E6BA55CA07A694154C51D5FC4715541"), time.Now()) 5 // 6 // //s, err := InterpolateParams(e.Query()) 7 // //NewWithT(t).Expect(err).To(BeNil()) 8 // //fmt.Println(s) 9 //}