Joenr-going

Results 3 issues of Joenr-going

/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 2025/04/29 22:36:38 /tmp/go-link-4021400276/000002.o: In function `_cgo_e84016e3a4b5_Cfunc_JS_NewString': 2025/04/29 22:36:38 /tmp/go-build/cgo-gcc-prolog:510: undefined reference to `JS_NewString' 2025/04/29 22:36:38 /tmp/go-link-4021400276/000004.o: In function `_cgo_e84016e3a4b5_Cfunc_JS_AddIntrinsicBigDecimal': 2025/04/29 22:36:38 /tmp/go-build/cgo-gcc-prolog:49: undefined...

> /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: /tmp/bs_cache/go/pkg/mod/github.com/buke/[email protected]/deps/libs/linux_amd64/libquickjs.a(quickjs.nolto.o): unable to initialize decompress status for section .debug_info /usr/bin/ld: /tmp/bs_cache/go/pkg/mod/github.com/buke/[email protected]/deps/libs/linux_amd64/libquickjs.a(quickjs.nolto.o): unable to initialize decompress status for section .debug_info /usr/bin/ld: /tmp/bs_cache/go/pkg/mod/github.com/buke/[email protected]/deps/libs/linux_amd64/libquickjs.a(quickjs.nolto.o):...

func main() { r := dal.Use(db).Product // gorm 原生 db.Updates(&models.Product{ID: 1}) // UPDATE `products` SET `updated_at`='2025-12-01 20:54:45.641' WHERE `products`.`deleted_at` IS NULL AND `id` = 1 r.WithContext(context.Background()).Where(r.Code.Eq("0")).Updates(&models.Product{ID: 1}) } build sql:...