| 1 | //go:build go1.22 |
| 2 | // +build go1.22 |
| 3 | |
| 4 | package genericscip-go gomod github.com/traefik/yaegi . `github.com/traefik/yaegi/stdlib/generic`/ |
| 5 | |
| 6 | import _ "embedscip-go gomod github.com/golang/go/src go1.21 embed/" |
| 7 | |
| 8 | //go:embed go1_22_cmp_cmp.go.txt |
| 9 | var cmpSourcescip-go gomod github.com/traefik/yaegi . `github.com/traefik/yaegi/stdlib/generic`/cmpSource. string |
| 10 | |
| 11 | //go:embed go1_22_maps_maps.go.txt |
| 12 | var mapsSourcescip-go gomod github.com/traefik/yaegi . `github.com/traefik/yaegi/stdlib/generic`/mapsSource. string |
| 13 | |
| 14 | //go:embed go1_22_slices_slices.go.txt |
| 15 | var slicesSourcescip-go gomod github.com/traefik/yaegi . `github.com/traefik/yaegi/stdlib/generic`/slicesSource. string |
| 16 | |
| 17 | /* |
| 18 | //go:embed go1_22_slices_sort.go.txt |
| 19 | var slicesSource1 string |
| 20 | |
| 21 | //go:embed go1_22_slices_zsortanyfunc.go.txt |
| 22 | var slicesSource2 string |
| 23 | |
| 24 | //go:embed go1_22_sync_oncefunc.go.txt |
| 25 | var syncSource string |
| 26 | |
| 27 | //go:embed go1_22_sync_atomic_type.go.txt |
| 28 | var syncAtomicSource string |
| 29 | */ |
| 30 | |
| 31 | // Sources contains the list of generic packages source strings. |
| 32 | var Sourcesscip-go gomod github.com/traefik/yaegi . `github.com/traefik/yaegi/stdlib/generic`/Sources. = [...]string{ |
| 33 | cmpSourcescip-go gomod github.com/traefik/yaegi . `github.com/traefik/yaegi/stdlib/generic`/cmpSource., |
| 34 | mapsSourcescip-go gomod github.com/traefik/yaegi . `github.com/traefik/yaegi/stdlib/generic`/mapsSource., |
| 35 | slicesSourcescip-go gomod github.com/traefik/yaegi . `github.com/traefik/yaegi/stdlib/generic`/slicesSource., |
| 36 | // FIXME(marc): support the following. |
| 37 | // slicesSource1, |
| 38 | // slicesSource2, |
| 39 | // syncAtomicSource, |
| 40 | // syncSource, |
| 41 | } |