初级会员
  • 第 75636 位会员
  • pollyduan
  • 2022-09-29 14:42:31
  • Offline
  • 40 51

最近发布的主题

最近发布的文章

    暂无

最近分享的资源

    暂无

最近发布的项目

    暂无

最近的评论

  • 一个免责连法律都可以免?幼稚
  • 2023-03-21 10:41:56 评论了主题 go语言的通道疑惑
    楼主,你这问题不是必现,我跑了1000次,能出现一两次 17 -5 12 for i in {1..1000}; do GOMAXPROCS=6 go run main.go; done
  • 中间人并没有这么容易,你访问的是你自己的域名,他没有你的域名归属,没办法用你的域名去申请证书吧。
  • 2022-10-11 17:21:10 评论了面试题 Go每日一题(23)
    C 貌似是不行的,.(*p)会当做类型断言: ```go package main import ( "encoding/base32" "fmt" "math/rand" "time" "github.com/hgfischer/go-otp" ) type StructA struct { P StructP } type StructP struct { Name string } func main() { var p = StructP{ Name: "tom", } var A = StructA{ P: p, } fmt.Printf("A: %v\n", A.(*P).Name) // invalid operation: A (variable of type StructA) is not an interfacecompilerInvalidAssert } ```
  • 2022-10-08 20:22:16 评论了面试题 Go每日一题(20)
    初级面试题