fix: handle interface values in map and arrays

This commit is contained in:
Marc Vertes
2020-03-03 18:32:04 +01:00
committed by GitHub
parent 94e0b582ea
commit cfb73445a2
9 changed files with 181 additions and 32 deletions

12
_test/interface20.go Normal file
View File

@@ -0,0 +1,12 @@
package main
import "fmt"
func main() {
var a interface{}
a = string("A")
fmt.Println(a)
}
// Output:
// A