From ae66b3d2fb2f1f65f6ca8932e8044114e609d0b4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 3 Nov 2025 01:49:27 +0900 Subject: message: rename NewMsg to New Should have done this when relocating this from container. Now is a good time to rename it before v0.3.x. Signed-off-by: Ophestra --- container/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container/container.go') diff --git a/container/container.go b/container/container.go index 3ba87dad..1e23897d 100644 --- a/container/container.go +++ b/container/container.go @@ -404,7 +404,7 @@ func (p *Container) ProcessState() *os.ProcessState { // New returns the address to a new instance of [Container] that requires further initialisation before use. func New(ctx context.Context, msg message.Msg) *Container { if msg == nil { - msg = message.NewMsg(nil) + msg = message.New(nil) } p := &Container{ctx: ctx, msg: msg, Params: Params{Ops: new(Ops)}} -- cgit v1.3.1