Skip to content

Commit 0587ec5

Browse files
committed
doc: update readme.
1 parent f8af82f commit 0587ec5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ A collection of Golang assertion functions for verifying invariants.
1313
- [Getting Started](#getting-started)
1414
- [Available Assertions](#available-assertions)
1515
- [Equality](#equality)
16+
- [Comparison](#comparison)
1617
- [Value](#value)
1718
- [String](#string)
1819
- [Slice or Array](#slice-or-array)
@@ -163,6 +164,24 @@ func TestExample(t *testing.T) {
163164

164165
> Since v0.1.5
165166
167+
### Comparison
168+
169+
- [`Gt`](https://pkg.go.dev/github.com/ghosind/go-assert#Assertion.Gt): assert the first value is greater than the second value.
170+
171+
> Since v1.0.0
172+
173+
- [`Gte`](https://pkg.go.dev/github.com/ghosind/go-assert#Assertion.Gte): assert the first value is greater than or equal to the second value.
174+
175+
> Since v1.0.0
176+
177+
- [`Lt`](https://pkg.go.dev/github.com/ghosind/go-assert#Assertion.Lt): assert the first value is less than the second value.
178+
179+
> Since v1.0.0
180+
181+
- [`Lte`](https://pkg.go.dev/github.com/ghosind/go-assert#Assertion.Lte): assert the first value is less than or equal to the second value.
182+
183+
> Since v1.0.0
184+
166185
### Value
167186

168187
- [`Nil`](https://pkg.go.dev/github.com/ghosind/go-assert#Assertion.Nil) and [`NotNil`](https://pkg.go.dev/github.com/ghosind/go-assert#Assertion.NotNil): assert the value is nil or not.

0 commit comments

Comments
 (0)