From 7d852ce37336297c1231274227084e8a57b45fef Mon Sep 17 00:00:00 2001 From: MatteoPologruto Date: Tue, 28 Mar 2023 13:11:07 +0200 Subject: [PATCH 1/2] Add license header to project's files --- devicenotification/devicenotification.go | 6 ++++++ doc.go | 6 ++++++ examples_test.go | 6 ++++++ shell32_fallback.go | 6 ++++++ shell32_windows.go | 6 ++++++ syscall_windows.go | 6 ++++++ 6 files changed, 36 insertions(+) diff --git a/devicenotification/devicenotification.go b/devicenotification/devicenotification.go index 8797933..19b6230 100644 --- a/devicenotification/devicenotification.go +++ b/devicenotification/devicenotification.go @@ -1,3 +1,9 @@ +// +// Copyright 2018-2023 ARDUINO SA. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. +// + package devicenotification import ( diff --git a/doc.go b/doc.go index bf98303..1b3e537 100644 --- a/doc.go +++ b/doc.go @@ -1 +1,7 @@ +// +// Copyright 2018-2023 ARDUINO SA. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. +// + package win32 diff --git a/examples_test.go b/examples_test.go index 1b05063..eb27392 100644 --- a/examples_test.go +++ b/examples_test.go @@ -1,3 +1,9 @@ +// +// Copyright 2018-2023 ARDUINO SA. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. +// + package win32_test import ( diff --git a/shell32_fallback.go b/shell32_fallback.go index fd47a10..89ba635 100644 --- a/shell32_fallback.go +++ b/shell32_fallback.go @@ -1,5 +1,11 @@ //go:build !windows +// +// Copyright 2018-2023 ARDUINO SA. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. +// + package win32 import ( diff --git a/shell32_windows.go b/shell32_windows.go index 1c883c1..bd40972 100644 --- a/shell32_windows.go +++ b/shell32_windows.go @@ -1,3 +1,9 @@ +// +// Copyright 2018-2023 ARDUINO SA. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. +// + package win32 import ( diff --git a/syscall_windows.go b/syscall_windows.go index ec27f10..26af4cb 100644 --- a/syscall_windows.go +++ b/syscall_windows.go @@ -1,3 +1,9 @@ +// +// Copyright 2018-2023 ARDUINO SA. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. +// + package win32 import "syscall" From 1ff2441f50924c52563bf4500c483ff9839bc6d8 Mon Sep 17 00:00:00 2001 From: MatteoPologruto Date: Tue, 28 Mar 2023 13:18:59 +0200 Subject: [PATCH 2/2] Revert removal of win32 package's description --- doc.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc.go b/doc.go index 1b3e537..7ac9b43 100644 --- a/doc.go +++ b/doc.go @@ -4,4 +4,6 @@ // license that can be found in the LICENSE file. // +// Package win32 is a collection of useful bindings to Win32 API that are not available in the standard +// golang windows/syscall package. package win32