formatter.go: typeName() renamed as TypeName()
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ type Typer interface {
|
||||
TypeName() string
|
||||
}
|
||||
|
||||
func typeName(v any) (name string) {
|
||||
func TypeName(v any) (name string) {
|
||||
if v == nil {
|
||||
name = "nil"
|
||||
} else if typer, ok := v.(Typer); ok {
|
||||
|
||||
Reference in New Issue
Block a user