ring:=&(chord.Ring){}ring.init(conf)return ring}where Ring and Config are struct in chord package.I get the error of "cannot parenthesize type in composite literal " while compiling "main" package.
I tried to find on net but could not get a concrete solution.