mirror of
https://github.com/ent/ent.git
synced 2026-05-04 16:40:55 +03:00
all: gofmt -w -r 'interface{} -> any' (#2874)
This commit is contained in:
@@ -797,7 +797,7 @@ func (p Level) Value() (driver.Value, error) {
|
||||
}
|
||||
|
||||
// Scan tells our code how to read the enum into our type.
|
||||
func (p *Level) Scan(val interface{}) error {
|
||||
func (p *Level) Scan(val any) error {
|
||||
var s string
|
||||
switch v := val.(type) {
|
||||
case nil:
|
||||
|
||||
Reference in New Issue
Block a user