掌控安全web渗透白帽网络安全ctfLinux 15期
func main() { //读取数据 f, err := excelize.OpenFile("liuBei.xlsx") if err != nil { fmt.Println(err) return } defer func() { if err := f.Close(); err != nil { fmt.Println(err) } }() cols,_ := f.Cols("Sheet1") for cols.Next() { col,_ := cols.Rows() for _, rowCell := range col { fmt.Print(rowCell, "\t") } fmt.Println() }

