feat: BeforeUpdate
hook supports update using struct field value
#2568
Annotations
5 errors and 2 warnings
Tests:
schema/field_test.go#L21
unknown field ID in struct literal of type gorm.Model
|
Tests:
schema/field_test.go#L37
user.ID undefined (type tests.User has no field or method ID)
|
Tests:
schema/field_test.go#L100
unknown field ID in struct literal of type gorm.Model
|
Tests:
schema/field_test.go#L115
user.ID undefined (type User has no field or method ID)
|
Tests
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Set up Go 1.x
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
|
Loading