Golang Require Api

[Solved] Golang Require Api | Go - Code Explorer | yomemimo.com
Question : golang require api

Answered by : rich-raccoon-buopkvc9lmnc

 if err != nil{ fmt.Println(err) }
var dat2 map[string]interface{} if err := json.Unmarshal(jsonStr,&dat2);err == nil{ fmt.Println("userinfo") fmt.Println(dat2) } persistent_code := data2["persistent_code"]
//name := dat2["user_info"].(map[string]interface{})["nick"] //openid := dat2["user_info"].(map[string]interface{})["openid"]

Source : https://studygolang.com/articles/22001 | Last Update : Tue, 08 Jun 21

Answers related to golang require api

Code Explorer Popular Question For Go