mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
all: gofmt -w -r 'interface{} -> any' (#2874)
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
||||
func TestEncodeStruct(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
in interface{}
|
||||
in any
|
||||
want string
|
||||
}{
|
||||
{
|
||||
@@ -108,7 +108,7 @@ func TestDecodeStruct(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
in string
|
||||
want interface{}
|
||||
want any
|
||||
}{
|
||||
{
|
||||
name: "Simple",
|
||||
|
||||
Reference in New Issue
Block a user