Commit 9b75bfd 1 parent b420081 commit 9b75bfd Copy full SHA for 9b75bfd
File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Usage is as easy as chaining methods like:
28
28
** Example 1: Find all owners of cars manufactured after 2015**
29
29
30
30
``` go
31
- import . " github.com/ahmetb/go-linq"
31
+ import . " github.com/ahmetb/go-linq/v3 "
32
32
33
33
type Car struct {
34
34
year int
@@ -63,7 +63,7 @@ From(cars).WhereT(func(c Car) bool {
63
63
** Example 2: Find the author who has written the most books**
64
64
65
65
``` go
66
- import . " github.com/ahmetb/go-linq"
66
+ import . " github.com/ahmetb/go-linq/v3 "
67
67
68
68
type Book struct {
69
69
id int
@@ -165,11 +165,12 @@ From(sentences).
165
165
166
166
## Release Notes
167
167
168
- ~~~
169
- v3.0.2 (2020-02-23 )
168
+ ``` text
169
+ v3.2.0 (2020-12-29 )
170
170
* Added FromChannelT().
171
+ * Added DefaultIfEmpty().
171
172
172
- v3.0.1 (2019-07-09)
173
+ v3.1.0 (2019-07-09)
173
174
* Support for Go modules
174
175
* Added IndexOf()/IndexOfT().
175
176
@@ -220,4 +221,4 @@ v0.9-rc1
220
221
* type assertion limitations are unresolved
221
222
* travis-ci.org build integrated
222
223
* open sourced on github, master & dev branches
223
- ~~~
224
+ ```
You can’t perform that action at this time.
0 commit comments