avoid implicit satisfaction of go

后端 未结 0 584
借酒劲吻你
借酒劲吻你 2021-02-06 22:40

am new to Go and I encounter some questions, one of them is that how can I avoid implicit cast in Go ?

for example:

type runner interface {
    run()
}

ty         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题