摘要:
package main import ( "fmt" "os" ) type student struct { Name string Age int Score float32 } //从字符串中格式化输入 func formateFromstr() { str := "stu01 18 89.92" var stu student fmt.Sscanf(str, "%s %d %f", &s 阅读全文
posted @ 2019-08-26 19:49
幸运使者
阅读(185)
评论(0)
推荐(0)

浙公网安备 33010602011771号