docs(tinyssert): documentation about the New constructor
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user