gorm.io/driver/sqlserver
D:\my-dev\pkg\mod\gorm.io\driver\sqlserver@v1.2.1\create.go:55:33: not enough arguments in call to field.ValueOf have (reflect.Value) want (context.Context, reflect.Value) D:\my-dev\pkg\mod\gorm.io\driver\sqlserver@v1.2.1\create.go:61:35: not enough arguments in call to field.ValueOf have (reflect.Value) want (context.Context, reflect.Value)
gorm.io/driver/postgres
Comment From: a631807682
Pass the pointer to Create
https://github.com/go-gorm/gorm/issues/5197
Comment From: github-actions[bot]
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking ✨
Comment From: AWaterColorPen
compile failed gorm.io/driver/mysql v1.3.3 gorm.io/driver/postgres v1.3.4 gorm.io/driver/sqlite v1.3.1 gorm.io/gorm v1.23.4
Comment From: AWaterColorPen
@coolops-cn update to gorm.io/driver/sqlserver v1.3.2 // indirect can resolve
Comment From: AWaterColorPen
@jinzhu BTW, I only use mysql / postgres / sqlite . why it is need gorm.io/driver/sqlserver // indirect?
Comment From: github-actions[bot]
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking ✨
Comment From: pylist
哥们, 知道原因了么, 我只用mysql, 也给我爆错了
Comment From: AWaterColorPen
@pylist
@coolops-cn update to gorm.io/driver/sqlserver v1.3.2 // indirect can resolve
Comment From: pylist
gorm.io/driver/sqlserver v1.3.2
确实是解决了, 但是我也没用sqlserver, 为啥需要下载他, 很好奇这个问题
Comment From: github-actions[bot]
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking ✨