ВС
type awesomeMap (type K comparable) map[K]interface{}
type myAwesomeGoMap awesomeMap(interface{}) // !important
😂Size: a a a
ВС
type awesomeMap (type K comparable) map[K]interface{}
type myAwesomeGoMap awesomeMap(interface{}) // !important
😂RS
с
type awesomeMap(type K comparable, V interface{ type interface{} }) map[K]V
?с
с
RS
type awesomeMap(type K comparable, V interface{ type interface{} }) map[K]V
?с
с
с
RS
type awesomeMap(type K comparable, V interface{ type interface{} }) map[K]V
?V interface{ type interface{} }
с
V interface{ type interface{} }
interface{}
или type MyInterface interface{}
с
RS
interface{}
или type MyInterface interface{}
RS
с
func main() {
var i AwesomeMap(interface{
type interface{}
Method()
})
fmt.Println(i)
}
ВС
с
type A interface {
type interface{}
Method()
}
func main() {
var i AwesomeMap(A)
fmt.Println(i)
}
с
AC