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