From cce4dbc8e00a9818bf5728c00501f53c9fc2aef6 Mon Sep 17 00:00:00 2001 From: Ichinose Shogo Date: Thu, 13 Aug 2020 16:02:08 +0900 Subject: [PATCH] fix typo: s --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e8913f6d0..834cf10f5 100644 --- a/README.md +++ b/README.md @@ -458,7 +458,7 @@ The default internal output type of MySQL `DATE` and `DATETIME` values is `[]byt However, many want to scan MySQL `DATE` and `DATETIME` values into `time.Time` variables, which is the logical equivalent in Go to `DATE` and `DATETIME` in MySQL. You can do that by changing the internal output type from `[]byte` to `time.Time` with the DSN parameter `parseTime=true`. You can set the default [`time.Time` location](https://golang.org/pkg/time/#Location) with the `loc` DSN parameter. **Caution:** As of Go 1.1, this makes `time.Time` the only variable type you can scan `DATE` and `DATETIME` values into. This breaks for example [`sql.RawBytes` support](https://github.com/go-sql-driver/mysql/wiki/Examples#rawbytes). -s + ### Unicode support Since version 1.5 Go-MySQL-Driver automatically uses the collation ` utf8mb4_general_ci` by default.