(b *testing.B)
| 1603 | } |
| 1604 | |
| 1605 | func BenchmarkInsert5(b *testing.B) { |
| 1606 | bt := WithTemplate(&testTemplate) |
| 1607 | for n := 0; n < b.N; n++ { |
| 1608 | _ = bt.InsertInto("artist").Values(struct { |
| 1609 | ID int `db:"id"` |
| 1610 | Name string `db:"name"` |
| 1611 | }{12, "Chavela Vargas"}).String() |
| 1612 | } |
| 1613 | } |
| 1614 | |
| 1615 | func BenchmarkSelect1(b *testing.B) { |
| 1616 | bt := WithTemplate(&testTemplate) |
nothing calls this directly
no test coverage detected