aboutsummaryrefslogtreecommitdiff
path: root/lib/html
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-15 17:14:54 +0700
committerShulhan <ms@kilabit.info>2026-01-15 17:26:33 +0700
commit7db8c302e1396eda40cd6a1e57f58ed791448556 (patch)
tree89231c859d728deff0582d276f1b809243b6b2f2 /lib/html
parentb1f8d27c7e22eb5624c56e890e51f0a34c7b9606 (diff)
downloadpakakeh.go-7db8c302e1396eda40cd6a1e57f58ed791448556.tar.xz
all: convert license and copyright to use SPDX identifiers
With help of spdxconv tool [1], we able to bulk update all files license and copyright format to comply with SPDX formats. [1] https://kilabit.info/project/spdxconv/
Diffstat (limited to 'lib/html')
-rw-r--r--lib/html/benchmark_test.go5
-rw-r--r--lib/html/example_node_iterator_test.go5
-rw-r--r--lib/html/example_test.go5
-rw-r--r--lib/html/html.go5
-rw-r--r--lib/html/node.go5
-rw-r--r--lib/html/node_iterator.go5
6 files changed, 12 insertions, 18 deletions
diff --git a/lib/html/benchmark_test.go b/lib/html/benchmark_test.go
index 05aa62d2..558276a1 100644
--- a/lib/html/benchmark_test.go
+++ b/lib/html/benchmark_test.go
@@ -1,6 +1,5 @@
-// Copyright 2022, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2022 Shulhan <ms@kilabit.info>
package html
diff --git a/lib/html/example_node_iterator_test.go b/lib/html/example_node_iterator_test.go
index 94ece050..277001f5 100644
--- a/lib/html/example_node_iterator_test.go
+++ b/lib/html/example_node_iterator_test.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
package html
diff --git a/lib/html/example_test.go b/lib/html/example_test.go
index d0582555..67905535 100644
--- a/lib/html/example_test.go
+++ b/lib/html/example_test.go
@@ -1,6 +1,5 @@
-// Copyright 2022, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2022 Shulhan <ms@kilabit.info>
package html
diff --git a/lib/html/html.go b/lib/html/html.go
index 9f5324ab..1695420f 100644
--- a/lib/html/html.go
+++ b/lib/html/html.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
// Package html extends the golang.org/x/net/html by providing simplified
// methods to Node.
diff --git a/lib/html/node.go b/lib/html/node.go
index ac00ac48..5fbb03c4 100644
--- a/lib/html/node.go
+++ b/lib/html/node.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
package html
diff --git a/lib/html/node_iterator.go b/lib/html/node_iterator.go
index ca1819d4..bc1a9154 100644
--- a/lib/html/node_iterator.go
+++ b/lib/html/node_iterator.go
@@ -1,6 +1,5 @@
-// Copyright 2020, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: BSD-3-Clause
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
package html