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
Parameters to the Up function should accept a struct rather than a required param and varargs.
Turn this:
err=gompose.Up(
gompose.ReadyOnLog("database system is ready to accept connections", 2),
func() { _=gompose.Down() }, // any action to be taken on system interrupt
)
Into this:
err=gompose.Up(
gompose.UpOpts {
WaitOnChannel: gompose.ReadyOnLog("database system is ready to accept connections", 2),
OnInterrupt: func() { _=gompose.Down() },
}
)
The text was updated successfully, but these errors were encountered:
Parameters to the
Up
function should accept a struct rather than a required param and varargs.Turn this:
Into this:
The text was updated successfully, but these errors were encountered: