Skip to content

Commit 9bc2fb7

Browse files
authored
docs: add spdx license identifier comments (#42)
1 parent 8d4278d commit 9bc2fb7

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright Josh Komoroske. All rights reserved.
2+
# Use of this source code is governed by the MIT license,
3+
# a copy of which can be found in the LICENSE.txt file.
4+
# SPDX-License-Identifier: MIT
5+
16
# The certs stage is used to obtain a current set of CA certificates.
27
FROM alpine:3.14 as certs
38

analytics/cookie.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright Josh Komoroske. All rights reserved.
22
// Use of this source code is governed by the MIT license,
33
// a copy of which can be found in the LICENSE.txt file.
4+
// SPDX-License-Identifier: MIT
45

56
package analytics
67

analytics/title.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright Josh Komoroske. All rights reserved.
22
// Use of this source code is governed by the MIT license,
33
// a copy of which can be found in the LICENSE.txt file.
4+
// SPDX-License-Identifier: MIT
45

56
package analytics
67

analytics/tracker.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright Josh Komoroske. All rights reserved.
22
// Use of this source code is governed by the MIT license,
33
// a copy of which can be found in the LICENSE.txt file.
4+
// SPDX-License-Identifier: MIT
45

56
// Package analytics provides functionality for interacting with the Google
67
// Analytics API.

main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright Josh Komoroske. All rights reserved.
22
// Use of this source code is governed by the MIT license,
33
// a copy of which can be found in the LICENSE.txt file.
4+
// SPDX-License-Identifier: MIT
45

56
package main
67

@@ -22,7 +23,7 @@ var version = "development"
2223

2324
func main() {
2425
if err := mainCmd(); err != nil {
25-
fmt.Println("joshdk/google-analytics-proxy:", err) //nolint:forbidigo
26+
fmt.Println("joshdk/google-analytics-proxy:", err) // nolint:forbidigo
2627
os.Exit(1)
2728
}
2829
}

0 commit comments

Comments
 (0)