在很多的博客或者书上,说有三种,除了上述的两种以外,还有一种是实现Callable接口。但是这种并不是,因为,我们检查JDK中Thread的源码,看它的注释:
There are two ways to create a new thread o…
如何降低版本 假设go版本go.mod: go 1.16运行项目, 查看运行报错,根据报错信息,一条一条解决
go run main.go错误:
/home/server1/go/pkg/mod/google.golang.org/grpcv1.58.2/internal/buffer/unbounded.go:92:34: undefined: any类似这样的…