Skip to content

Commit

Permalink
Fix renames (1.21, not 1.20), simplify constraints
Browse files Browse the repository at this point in the history
Constraints don't need the go1.19 minimum.
Just "anything before 1.21" is good enough.
  • Loading branch information
abhinav committed Aug 19, 2023
1 parent 62ba034 commit 4d5fbfb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:build go1.19 && !go1.21
//go:build !go1.21

package zapslog_test

Expand Down
2 changes: 1 addition & 1 deletion exp/zapslog/slog_pre_go121.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:build go1.19 && !go1.21
//go:build !go1.21

package zapslog

Expand Down
2 changes: 1 addition & 1 deletion exp/zapslog/slog_pre_go121_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:build go1.19 && !go1.21
//go:build !go1.21

package zapslog

Expand Down

0 comments on commit 4d5fbfb

Please sign in to comment.