我有一个 Go 类型的变量string,当我执行fmt.Println(variable)终端打印时 {"access_key":"AAAAAA","secret_key":"XXXXXXX"} 。如何提取值“AAAAAA”和“XXXXXXX”?
string
fmt.Println(variable)
{"access_key":"AAAAAA","secret_key":"XXXXXXX"}
Helenr
相关分类