摘要:
package test import "github.com/plandem/xlsx" //学生结构体 type Stu struct { Name string Age string } //读取表中数据,返回list func RedExcel()([]Stu) { filePath :=" 阅读全文
posted @ 2020-10-11 12:12
打工的工人
阅读(1632)
评论(1)
推荐(0)
摘要:
type stack struct { nums []int }// type queue struct { s1 *stack s2 *stack } //初始化栈 func newStack() *stack { return &stack{ nums: []int{}, } } //初始化队列 阅读全文
posted @ 2020-10-11 11:13
打工的工人
阅读(133)
评论(0)
推荐(0)
摘要:
package main import ( "fmt" ) //定义栈结构 type Stack struct { StrArray []string Size int Top int } func NewStack(size int) *Stack { return &Stack{StrArray 阅读全文
posted @ 2020-10-11 10:58
打工的工人
阅读(112)
评论(0)
推荐(0)
摘要:
package main import ( "fmt" ) //队列:先进先出 type Queue struct { StrArray []string Size int Pos int } func NewQueue(size int) *Queue { return &Queue{StrArr 阅读全文
posted @ 2020-10-11 10:57
打工的工人
阅读(134)
评论(0)
推荐(0)

浙公网安备 33010602011771号