docs(tinyssert): documentation about the New constructor

This commit is contained in:
Guz
2025-05-14 11:45:45 -03:00
parent 2e9139c682
commit fec910c22f

View File

@@ -160,6 +160,8 @@ type Assertions interface {
CallerInfo() []string CallerInfo() []string
} }
// New constructs a new implementation of [Assertions]. Use `opts` to customize the behaviour
// of the implementation.
func New(opts ...Option) Assertions { func New(opts ...Option) Assertions {
a := &assertions{ a := &assertions{
panic: false, panic: false,