Skip to content

Commit

Permalink
docs: add spdx license identifier comments (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdk authored Oct 14, 2021
1 parent 8d4278d commit 9bc2fb7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright Josh Komoroske. All rights reserved.
# Use of this source code is governed by the MIT license,
# a copy of which can be found in the LICENSE.txt file.
# SPDX-License-Identifier: MIT

# The certs stage is used to obtain a current set of CA certificates.
FROM alpine:3.14 as certs

Expand Down
1 change: 1 addition & 0 deletions analytics/cookie.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Josh Komoroske. All rights reserved.
// Use of this source code is governed by the MIT license,
// a copy of which can be found in the LICENSE.txt file.
// SPDX-License-Identifier: MIT

package analytics

Expand Down
1 change: 1 addition & 0 deletions analytics/title.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Josh Komoroske. All rights reserved.
// Use of this source code is governed by the MIT license,
// a copy of which can be found in the LICENSE.txt file.
// SPDX-License-Identifier: MIT

package analytics

Expand Down
1 change: 1 addition & 0 deletions analytics/tracker.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Josh Komoroske. All rights reserved.
// Use of this source code is governed by the MIT license,
// a copy of which can be found in the LICENSE.txt file.
// SPDX-License-Identifier: MIT

// Package analytics provides functionality for interacting with the Google
// Analytics API.
Expand Down
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Josh Komoroske. All rights reserved.
// Use of this source code is governed by the MIT license,
// a copy of which can be found in the LICENSE.txt file.
// SPDX-License-Identifier: MIT

package main

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

func main() {
if err := mainCmd(); err != nil {
fmt.Println("joshdk/google-analytics-proxy:", err) //nolint:forbidigo
fmt.Println("joshdk/google-analytics-proxy:", err) // nolint:forbidigo
os.Exit(1)
}
}
Expand Down

0 comments on commit 9bc2fb7

Please sign in to comment.