Accessing variables across packages in Go

前端 未结 0 1252
眼角桃花
眼角桃花 2021-02-15 02:55

I have two variables in the scope of package main, those would be these:

var (
    app Application
    cfg Config
)

Now, since the

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