From fec910c22f1fb46ad2e4b686548d47ab1fc21b09 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Wed, 14 May 2025 11:45:45 -0300 Subject: [PATCH] docs(tinyssert): documentation about the New constructor --- tinyssert/tinyssert.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tinyssert/tinyssert.go b/tinyssert/tinyssert.go index db4c463..e9d9133 100644 --- a/tinyssert/tinyssert.go +++ b/tinyssert/tinyssert.go @@ -160,6 +160,8 @@ type Assertions interface { CallerInfo() []string } +// New constructs a new implementation of [Assertions]. Use `opts` to customize the behaviour +// of the implementation. func New(opts ...Option) Assertions { a := &assertions{ panic: false,