摘要:
1,使用mysqldump时报错(1064),这个是因为mysqldump版本太低与当前数据库版本不一致导致的。 mysqldump: Couldn't execute 'SET OPTION SQL_QUOTE_SHOW_CREATE=1': You have an error in your S 阅读全文
摘要:
package main import ( "fmt" "reflect" ) type Test struct { Id int `json:"user_id"` Name string "this is name" } func main() { t := Test{Id: 1, Name: "xiaochuan"} r := reflect.TypeOf(t) fmt.Printl... 阅读全文