Skip to content

Commit 61c91a6

Browse files
committed
go_test.bat added
1 parent b443a2a commit 61c91a6

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@
1616

1717
################################
1818
*.bat
19+
!go_test.bat

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ go2linq
1111
**go2linq** is inspired by Jon Skeet's [Edulinq series](https://codeblog.jonskeet.uk/category/edulinq/).
1212

1313
Since **go2linq** uses generics it requires at least Go 1.18.
14-
Use [gotip tool](https://pkg.go.dev/golang.org/dl/gotip) or install [go1.18beta2](https://go.dev/dl/#go1.18beta2) to experiment with **go2linq**.
14+
Use [gotip](https://pkg.go.dev/golang.org/dl/gotip) or [go1.18beta2](https://go.dev/dl/#go1.18beta2) to experiment with **go2linq**.
1515

1616
---
1717

1818
## Examples
1919

2020
Examples of **go2linq**'s use are in the `example` directory and among corresponding tests.
2121

22-
### Quick simple example
22+
### Quick and easy example
2323

2424
```go
2525
//go:build go1.18

doc.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//go:build go1.18
2-
31
// Package go2linq implements .NET's LINQ to Objects
42
// (https://docs.microsoft.com/dotnet/csharp/programming-guide/concepts/linq/linq-to-objects).
53
//

errors.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//go:build go1.18
2-
31
package go2linq
42

53
import (

go_test.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
rem gotip.exe test
2+
3+
go1.18beta2 test

planet_for_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//go:build go1.18
2-
31
package go2linq
42

53
type PlanetType int

0 commit comments

Comments
 (0)