On Wed, Mar 20, 2013 at 11:48 AM, Péter Szilágyi <
pet...@gmail.com> wrote:
> Hi,
>
> If I have a group of global variables, like:
>
http://play.golang.org/p/xPcgNTzD_- , how can I initialize them inline
> without having an extra function call. I know it could be done with init(),
> but I'd rather say something like:
>
> const/var config struct {
> Str = "abc"
> Num = 123
> }
>
> Is there a way I'm missing to specify the above?