16 lines
252 B
Go
16 lines
252 B
Go
|
package amf
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
type AMFObj map[interface{}]interface{}
|
||
|
|
||
|
func DecodeAMF(data *[]byte) (AMFObj, error) {
|
||
|
obj := make(AMFObj)
|
||
|
test := make(AMFObj)
|
||
|
fmt.Println("a")
|
||
|
obj[2] = test
|
||
|
fmt.Println(obj)
|
||
|
test["tcUrl"] = "test"
|
||
|
return obj, nil
|
||
|
}
|