Skip to content

Commit

Permalink
Move build tag below copyright notice
Browse files Browse the repository at this point in the history
We place the build tag after the copyright notice.
  • Loading branch information
abhinav committed Aug 16, 2023
1 parent 0de3a7c commit 8d1ac16
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions exp/zapslog/example_go120_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build go1.21

// Copyright (c) 2023 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -20,6 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:build go1.21

package zapslog_test

import (
Expand Down
4 changes: 2 additions & 2 deletions exp/zapslog/example_pre_go120_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build go1 && !go1.21

// Copyright (c) 2023 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -20,6 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

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

package zapslog_test

import (
Expand Down
4 changes: 2 additions & 2 deletions exp/zapslog/slog_go121.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build go1.21

// Copyright (c) 2023 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -20,6 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:build go1.21

package zapslog

import (
Expand Down
4 changes: 2 additions & 2 deletions exp/zapslog/slog_go121_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build go1.21

// Copyright (c) 2023 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -20,6 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:build go1.21

package zapslog

import (
Expand Down
4 changes: 2 additions & 2 deletions exp/zapslog/slog_pre_go121.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build go1 && !go1.21

// Copyright (c) 2023 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -20,6 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

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

package zapslog

import (
Expand Down
4 changes: 2 additions & 2 deletions exp/zapslog/slog_pre_go121_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build go1 && !go1.21

// Copyright (c) 2023 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -20,6 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

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

package zapslog

import (
Expand Down

0 comments on commit 8d1ac16

Please sign in to comment.