Skip to content

Commit 8fdfb2f

Browse files
committed
chore: fix license headers
1 parent 59a8291 commit 8fdfb2f

9 files changed

+27
-10
lines changed

.golangci.yml

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
run:
22
timeout: 10m
33

4+
linters:
5+
enable:
6+
- misspell
7+
- godot
8+
- goheader
9+
410
linters-settings:
511
misspell:
612
locale: US
713
godox:
814
keywords:
915
- FIXME
10-
11-
linters:
12-
enable:
13-
- misspell
14-
- godot
16+
goheader:
17+
template: |-
18+
Copyright 2015 Tim Heckman. All rights reserved.
19+
Copyright 2018-{{ YEAR }} The Gofrs. All rights reserved.
20+
Use of this source code is governed by the BSD 3-Clause
21+
license that can be found in the LICENSE file.
1522
1623
issues:
1724
exclude-use-default: true

flock.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright 2015 Tim Heckman. All rights reserved.
2+
// Copyright 2018-2024 The Gofrs. All rights reserved.
23
// Use of this source code is governed by the BSD 3-Clause
34
// license that can be found in the LICENSE file.
45

flock_aix.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
// Copyright 2019 Tim Heckman. All rights reserved. Use of this source code is
2-
// governed by the BSD 3-Clause license that can be found in the LICENSE file.
1+
// Copyright 2015 Tim Heckman. All rights reserved.
2+
// Copyright 2018-2024 The Gofrs. All rights reserved.
3+
// Use of this source code is governed by the BSD 3-Clause
4+
// license that can be found in the LICENSE file.
35

46
// Copyright 2018 The Go Authors. All rights reserved.
57
// Use of this source code is governed by a BSD-style

flock_example_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright 2015 Tim Heckman. All rights reserved.
2-
// Copyright 2018 The Gofrs. All rights reserved.
2+
// Copyright 2018-2024 The Gofrs. All rights reserved.
33
// Use of this source code is governed by the BSD 3-Clause
44
// license that can be found in the LICENSE file.
55

flock_internal_test.go

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright 2015 Tim Heckman. All rights reserved.
2+
// Copyright 2018-2024 The Gofrs. All rights reserved.
3+
// Use of this source code is governed by the BSD 3-Clause
4+
// license that can be found in the LICENSE file.
5+
16
package flock
27

38
import (

flock_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// Copyright 2015 Tim Heckman. All rights reserved.
2-
// Copyright 2018 The Gofrs. All rights reserved.
2+
// Copyright 2018-2024 The Gofrs. All rights reserved.
33
// Use of this source code is governed by the BSD 3-Clause
44
// license that can be found in the LICENSE file.
5-
65
package flock_test
76

87
import (

flock_unix.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright 2015 Tim Heckman. All rights reserved.
2+
// Copyright 2018-2024 The Gofrs. All rights reserved.
23
// Use of this source code is governed by the BSD 3-Clause
34
// license that can be found in the LICENSE file.
45

flock_winapi.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright 2015 Tim Heckman. All rights reserved.
2+
// Copyright 2018-2024 The Gofrs. All rights reserved.
23
// Use of this source code is governed by the BSD 3-Clause
34
// license that can be found in the LICENSE file.
45

flock_windows.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright 2015 Tim Heckman. All rights reserved.
2+
// Copyright 2018-2024 The Gofrs. All rights reserved.
23
// Use of this source code is governed by the BSD 3-Clause
34
// license that can be found in the LICENSE file.
45

0 commit comments

Comments
 (0)