-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add build constraints and implementations for different Go ver…
…sions - Add a build constraint for go1.13 in `gorm/gorm_test.go` - Remove unused variable in `mongo/mongodriver/mongodriver.go` - Add a sessions.Store implementation in `mongo/mongodriver/mongodriver.go` - Add an empty line in `postgres/postgres.go` - Add a test case in `postgres/postgres_test.go` - Remove an unused import in `postgres/postgres_test.go` - Add a build constraint for go1.10 in `session_options_go1.10.go` - Add a build constraint for go1.11 in `session_options_go1.11.go` - Add a sessions import in `session_options_go1.11.go` - Add a build constraint for go1.10 in `tester/tester_options_samesite_go1.10.go` - Add a build constraint for go1.11 in `tester/tester_options_samesite_go1.11.go` Signed-off-by: Bo-Yi Wu <[email protected]>
- Loading branch information
Showing
8 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
//go:build go1.13 | ||
// +build go1.13 | ||
|
||
package gorm | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
//go:build !go1.11 | ||
// +build !go1.11 | ||
|
||
package sessions | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
//go:build !go1.11 | ||
// +build !go1.11 | ||
|
||
package tester | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
//go:build go1.11 | ||
// +build go1.11 | ||
|
||
package tester | ||
|