Posted on 25th July 2024|102 views
How to convert struct pointer to interface?
Posted on 25th July 2024| views
Struct Pointer can be converted to Interface through the following code:
type foo struct1 [ } Func1 bar1(baz interface{} ) { }