update content

This commit is contained in:
gouguoyin 2021-08-23 11:32:03 +08:00
parent 89e8cfbdc0
commit eae5a13197
3 changed files with 6 additions and 3 deletions

View File

@ -1053,7 +1053,7 @@ if err != nil {
// 错误处理 // 错误处理
log.Fatal(err) log.Fatal(err)
} }
fmt.Printf("%v", *person) fmt.Printf("%+v", *person)
// 输出 // 输出
{ID:1 Name:gouguoyin Age:18 Birthday:2003-07-16 16:22:02 GraduatedAt:2020-08-05 00:00:00 UpdatedAt:2022-08-05 13:14:15 DateTime1:2023-08-05 13:14:15 DateTime2:2024-08-05 13:14:15 DateTime3:2025-08-05 13:14:15 DateTime4:2025-08-05 13:14:15} {ID:1 Name:gouguoyin Age:18 Birthday:2003-07-16 16:22:02 GraduatedAt:2020-08-05 00:00:00 UpdatedAt:2022-08-05 13:14:15 DateTime1:2023-08-05 13:14:15 DateTime2:2024-08-05 13:14:15 DateTime3:2025-08-05 13:14:15 DateTime4:2025-08-05 13:14:15}
``` ```
@ -1071,6 +1071,7 @@ fmt.Printf("%v", *person)
* [德语(de)](./lang/de.json "德语"): 由 [benzammour](https://github.com/benzammour "benzammour") 翻译 * [德语(de)](./lang/de.json "德语"): 由 [benzammour](https://github.com/benzammour "benzammour") 翻译
* [土耳其语(tr)](./lang/tr.json "土耳其语"): 由 [emresenyuva](https://github.com/emresenyuva "emresenyuva") 翻译 * [土耳其语(tr)](./lang/tr.json "土耳其语"): 由 [emresenyuva](https://github.com/emresenyuva "emresenyuva") 翻译
* [葡萄牙语(pt)](./lang/pt.json "葡萄牙语"): 由 [felipear89](https://github.com/felipear89 "felipear89") 翻译 * [葡萄牙语(pt)](./lang/pt.json "葡萄牙语"): 由 [felipear89](https://github.com/felipear89 "felipear89") 翻译
* [俄罗斯语(ru)](./lang/ru.json "俄罗斯语"): 由 [zemlyak](https://github.com/zemlyak "zemlyak") 翻译
目前支持的方法有 目前支持的方法有

View File

@ -1050,7 +1050,7 @@ if err != nil {
// エラー処理... // エラー処理...
log.Fatal(c.Error) log.Fatal(c.Error)
} }
fmt.Printf("%v", *person) fmt.Printf("%+v", *person)
// 出力 // 出力
{ID:1 Name:gouguoyin Age:18 Birthday:2003-07-16 16:22:02 GraduatedAt:2020-08-05 00:00:00 UpdatedAt:2022-08-05 13:14:15 DateTime1:2023-08-05 13:14:15 DateTime2:2024-08-05 13:14:15 DateTime3:2025-08-05 13:14:15 DateTime4:2025-08-05 13:14:15} {ID:1 Name:gouguoyin Age:18 Birthday:2003-07-16 16:22:02 GraduatedAt:2020-08-05 00:00:00 UpdatedAt:2022-08-05 13:14:15 DateTime1:2023-08-05 13:14:15 DateTime2:2024-08-05 13:14:15 DateTime3:2025-08-05 13:14:15 DateTime4:2025-08-05 13:14:15}
``` ```
@ -1068,6 +1068,7 @@ fmt.Printf("%v", *person)
* [ドイツ語(de)](./lang/de.json "ドイツ語")[benzammour](https://github.com/benzammour "benzammour") から翻訳されます * [ドイツ語(de)](./lang/de.json "ドイツ語")[benzammour](https://github.com/benzammour "benzammour") から翻訳されます
* [トルコ語(tr)](./lang/tr.json "トルコ語")[emresenyuva](https://github.com/emresenyuva "emresenyuva") から翻訳されます * [トルコ語(tr)](./lang/tr.json "トルコ語")[emresenyuva](https://github.com/emresenyuva "emresenyuva") から翻訳されます
* [ポルトガル語(pt)](./lang/pt.json "ポルトガル語")[felipear89](https://github.com/felipear89 "felipear89") から翻訳されます * [ポルトガル語(pt)](./lang/pt.json "ポルトガル語")[felipear89](https://github.com/felipear89 "felipear89") から翻訳されます
* [ロシア語(ru)](./lang/ru.json "ロシア語")[zemlyak](https://github.com/zemlyak "zemlyak") から翻訳されます
現在サポートされている方法 現在サポートされている方法

View File

@ -1048,7 +1048,7 @@ if err != nil {
// Error handle... // Error handle...
log.Fatal(err) log.Fatal(err)
} }
fmt.Printf("%v", *person) fmt.Printf("%+v", *person)
// output // output
{ID:1 Name:gouguoyin Age:18 Birthday:2003-07-16 16:22:02 GraduatedAt:2020-08-05 00:00:00 UpdatedAt:2022-08-05 13:14:15 DateTime1:2023-08-05 13:14:15 DateTime2:2024-08-05 13:14:15 DateTime3:2025-08-05 13:14:15 DateTime4:2025-08-05 13:14:15} {ID:1 Name:gouguoyin Age:18 Birthday:2003-07-16 16:22:02 GraduatedAt:2020-08-05 00:00:00 UpdatedAt:2022-08-05 13:14:15 DateTime1:2023-08-05 13:14:15 DateTime2:2024-08-05 13:14:15 DateTime3:2025-08-05 13:14:15 DateTime4:2025-08-05 13:14:15}
``` ```
@ -1066,6 +1066,7 @@ The following languages are supported
* [German(de)](./lang/de.json "German")translated by [benzammour](https://github.com/benzammour "benzammour") * [German(de)](./lang/de.json "German")translated by [benzammour](https://github.com/benzammour "benzammour")
* [Turkish(tr)](./lang/tr.json "Turkish"): translated by [emresenyuva](https://github.com/emresenyuva "emresenyuva") * [Turkish(tr)](./lang/tr.json "Turkish"): translated by [emresenyuva](https://github.com/emresenyuva "emresenyuva")
* [Portuguese(pt)](./lang/pt.json "Portuguese"): translated by [felipear89](https://github.com/felipear89 "felipear89") * [Portuguese(pt)](./lang/pt.json "Portuguese"): translated by [felipear89](https://github.com/felipear89 "felipear89")
* [Russian(ru)](./lang/ru.json "Russian"): translated by [zemlyak](https://github.com/zemlyak "zemlyak")
The following methods are supported The following methods are supported