From 0448b915a3537c01aae74c7203ee13f27e506a66 Mon Sep 17 00:00:00 2001 From: Iskander Sharipov Date: Wed, 18 May 2022 19:00:39 +0300 Subject: [PATCH] dsl/types: add String+Underlying methods to Struct --- dsl/types/type_impl.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dsl/types/type_impl.go b/dsl/types/type_impl.go index 7b584709..9fc71d75 100644 --- a/dsl/types/type_impl.go +++ b/dsl/types/type_impl.go @@ -8,8 +8,10 @@ func (*Array) String() string { return "" } func (*Slice) String() string { return "" } func (*Pointer) String() string { return "" } func (*Interface) String() string { return "" } +func (*Struct) String() string { return "" } func (*Array) Underlying() Type { return nil } func (*Slice) Underlying() Type { return nil } func (*Pointer) Underlying() Type { return nil } func (*Interface) Underlying() Type { return nil } +func (*Struct) Underlying() Type { return nil }