You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various components of Clamp are initialised through init functions. In Go, initialisation through init function is generally discouraged and used only for certain special cases like loading DB driver. Moreover init function based initialisation order is indeterministic and difficult to troubleshoot if any of the initialisation fails. So, we should replace init function based initialisation with explicit initialisation.
The text was updated successfully, but these errors were encountered:
Various components of Clamp are initialised through
init
functions. In Go, initialisation throughinit
function is generally discouraged and used only for certain special cases like loading DB driver. Moreoverinit
function based initialisation order is indeterministic and difficult to troubleshoot if any of the initialisation fails. So, we should replaceinit
function based initialisation with explicit initialisation.The text was updated successfully, but these errors were encountered: