aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.go b/config.go
index ad5df48..e968fd4 100644
--- a/config.go
+++ b/config.go
@@ -14,6 +14,7 @@ var configTemplate string = `# SPDX-License-Identifier: CC0-1.0
[default]
license_identifier =
+copyright_year =
file_copyright_text =
max_line_match = 10
@@ -63,6 +64,7 @@ pattern = "^(//+|#+)\\s+Copyright\\s+(?<year>\\d{4}),?\\s+(?<author>.*)\\s+<*(?<
type config struct {
LicenseIdentifier string `ini:"default::license_identifier"`
+ CopyrightYear string `ini:"default::copyright_year"`
FileCopyrightText string `ini:"default::file_copyright_text"`
MatchFileComment []*matchFileComment `ini:"match-file-comment"`