こんにちわ is wrong Japanse. The correct word is こんにちは

This commit is contained in:
KiYugadgeter 2022-09-04 17:28:49 +09:00 committed by mattn
parent da62659c58
commit 7476442ed6
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ func createBulkInsertQuery(n int, start int) (query string, args []interface{})
for i := 0; i < n; i++ { for i := 0; i < n; i++ {
values[i] = "(?, ?)" values[i] = "(?, ?)"
args[pos] = start + i args[pos] = start + i
args[pos+1] = fmt.Sprintf("こんにち世界%03d", i) args[pos+1] = fmt.Sprintf("こんにち世界%03d", i)
pos += 2 pos += 2
} }
query = fmt.Sprintf( query = fmt.Sprintf(

View File

@ -33,7 +33,7 @@ RUN \
RUN \ RUN \
# Smoke test # Smoke test
set -o pipefail; \ set -o pipefail; \
/go/bin/simple | grep 99\ こんにち世界099 /go/bin/simple | grep 99\ こんにち世界099
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Main Stage # Main Stage

View File

@ -37,7 +37,7 @@ func main() {
} }
defer stmt.Close() defer stmt.Close()
for i := 0; i < 100; i++ { for i := 0; i < 100; i++ {
_, err = stmt.Exec(i, fmt.Sprintf("こんにち世界%03d", i)) _, err = stmt.Exec(i, fmt.Sprintf("こんにち世界%03d", i))
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }