Skip to content

Commit

Permalink
Add missing copyright notices and update to 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGamba committed Jan 5, 2024
1 parent 019118a commit 04272b8
Show file tree
Hide file tree
Showing 31 changed files with 107 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ StringMap and StringMapVar:: Comma separated key=value?

This file is part of go-getoptions.

Copyright (C) 2015-2023 David Gamba Rios
Copyright (C) 2015-2024 David Gamba Rios

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
8 changes: 8 additions & 0 deletions api.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

package getoptions

import (
Expand Down
8 changes: 8 additions & 0 deletions api_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

package getoptions

import (
Expand Down
2 changes: 1 addition & 1 deletion dag/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Finally, having an easy to use `os/exec` wrapper also helps a lot: https://githu

This file is part of go-getoptions.

Copyright (C) 2015-2023 David Gamba Rios
Copyright (C) 2015-2024 David Gamba Rios

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion dag/dag.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion dag/dag_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion documentation.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
8 changes: 8 additions & 0 deletions errors.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

package getoptions

import (
Expand Down
8 changes: 0 additions & 8 deletions example_minimal_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

// These examples demonstrate more intricate uses of the go-getoptions package.
package getoptions_test

Expand Down
8 changes: 8 additions & 0 deletions helpers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

package getoptions

import (
Expand Down
2 changes: 1 addition & 1 deletion internal/completion/completion.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion internal/completion/completion_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion internal/completion/documentation.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion internal/completion/file.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion internal/completion/file_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion internal/help/help.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
8 changes: 8 additions & 0 deletions internal/help/help_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

package help

import (
Expand Down
2 changes: 1 addition & 1 deletion internal/option/option.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion internal/option/option_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion internal/sliceiterator/sliceiterator.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion internal/sliceiterator/sliceiterator_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
8 changes: 8 additions & 0 deletions interrupt.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

package getoptions

import (
Expand Down
2 changes: 1 addition & 1 deletion isoption.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion isoption_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
8 changes: 8 additions & 0 deletions public_api_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

package getoptions_test

import (
Expand Down
8 changes: 8 additions & 0 deletions testhelpers_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

package getoptions

import (
Expand Down
2 changes: 1 addition & 1 deletion text/variables.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
2 changes: 1 addition & 1 deletion user.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2023 David Gamba Rios
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
Expand Down
8 changes: 8 additions & 0 deletions user_help.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

package getoptions

import (
Expand Down
8 changes: 8 additions & 0 deletions user_options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

package getoptions

import (
Expand Down
8 changes: 8 additions & 0 deletions user_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// This file is part of go-getoptions.
//
// Copyright (C) 2015-2024 David Gamba Rios
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

package getoptions

import (
Expand Down

0 comments on commit 04272b8

Please sign in to comment.