black-06

Results 21 comments of black-06

Hey guys, I wrote a plugin for grpc-gateway. It can support file upload and download, and the api is directly defined in grpc proto file. https://github.com/black-06/grpc-gateway-file I am looking forward...

> repo is not avail (github says 404) Sorry, I set it to private by mistake. You should be able to see it now.

No, (although where is not implemented), the cause of this issue is not here. Please try these SQL manually: ```sql ALTER TABLE "users" ADD "abc" nvarchar(256); # Ignore where because...

Could you reproduce it on the gorm-playground?

> I haven't investigated it, but it seems from the description that it may have something to do with #6771. Do you have time to take a look? @black-06 Okay...

> Hi @black-06 > > Which might cause a column's value overwritten by an empty value, here is an example: > > ```go > type User struct { > Name...

> Hi @black-06 > > Which might cause a column's value overwritten by an empty value, here is an example: > > ```go > type User struct { > Name...

> Hi @black-06 > > Which might cause a column's value overwritten by an empty value, here is an example: > > ```go > type User struct { > Name...

> `values.Columns` is already filtered data, it must [not contain default value](https://github.com/go-gorm/gorm/blob/master/callbacks/create.go#L199-L205), or [contain default value and set a value for it at the same time](https://github.com/go-gorm/gorm/blob/master/callbacks/create.go#L256-L265). > > The problem...

> You can use `default:gen_random_uuid()`, you will find that it keeps updating the UUID. It didn't... Still this test, It was saved twice, but the uuid did not change. ```go...