aboutsummaryrefslogtreecommitdiff
path: root/lib/xmlrpc
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-09-11 02:08:02 +0700
committerShulhan <ms@kilabit.info>2026-01-03 04:42:41 +0700
commit057440da4ffb8abcdb1887c95f3d0bb48698ccf9 (patch)
tree1a63c96b26d7db9271b1577623feeecd907a529b /lib/xmlrpc
parent0f85c1d2ee885ab12a237393902d401490e89bb6 (diff)
downloadpakakeh.go-057440da4ffb8abcdb1887c95f3d0bb48698ccf9.tar.xz
all: use SPDX license header format
Diffstat (limited to 'lib/xmlrpc')
-rw-r--r--lib/xmlrpc/client.go6
-rw-r--r--lib/xmlrpc/response.go6
-rw-r--r--lib/xmlrpc/response_test.go6
-rw-r--r--lib/xmlrpc/testdata/marshal_test.txt4
-rw-r--r--lib/xmlrpc/testdata/unmarshal_test.txt4
-rw-r--r--lib/xmlrpc/value_example_test.go6
-rw-r--r--lib/xmlrpc/xml.go6
-rw-r--r--lib/xmlrpc/xmlrpc.go6
8 files changed, 26 insertions, 18 deletions
diff --git a/lib/xmlrpc/client.go b/lib/xmlrpc/client.go
index 3bc537a5..dd8114d3 100644
--- a/lib/xmlrpc/client.go
+++ b/lib/xmlrpc/client.go
@@ -1,6 +1,6 @@
-// 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-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package xmlrpc
diff --git a/lib/xmlrpc/response.go b/lib/xmlrpc/response.go
index 934bdd46..3fcce8f7 100644
--- a/lib/xmlrpc/response.go
+++ b/lib/xmlrpc/response.go
@@ -1,6 +1,6 @@
-// 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-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package xmlrpc
diff --git a/lib/xmlrpc/response_test.go b/lib/xmlrpc/response_test.go
index d02814b2..7880bfae 100644
--- a/lib/xmlrpc/response_test.go
+++ b/lib/xmlrpc/response_test.go
@@ -1,6 +1,6 @@
-// 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-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package xmlrpc
diff --git a/lib/xmlrpc/testdata/marshal_test.txt b/lib/xmlrpc/testdata/marshal_test.txt
index 9ad3d896..bef67c20 100644
--- a/lib/xmlrpc/testdata/marshal_test.txt
+++ b/lib/xmlrpc/testdata/marshal_test.txt
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info>
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
Test marshaling.
<<< method.name
diff --git a/lib/xmlrpc/testdata/unmarshal_test.txt b/lib/xmlrpc/testdata/unmarshal_test.txt
index 0b4535d2..03c3f5ca 100644
--- a/lib/xmlrpc/testdata/unmarshal_test.txt
+++ b/lib/xmlrpc/testdata/unmarshal_test.txt
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info>
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
Test unmarshaling.
>>> Multiple param
diff --git a/lib/xmlrpc/value_example_test.go b/lib/xmlrpc/value_example_test.go
index 5933e5b8..95bee82f 100644
--- a/lib/xmlrpc/value_example_test.go
+++ b/lib/xmlrpc/value_example_test.go
@@ -1,6 +1,6 @@
-// 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-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package xmlrpc
diff --git a/lib/xmlrpc/xml.go b/lib/xmlrpc/xml.go
index ca77abe7..3df1fcaf 100644
--- a/lib/xmlrpc/xml.go
+++ b/lib/xmlrpc/xml.go
@@ -1,6 +1,6 @@
-// 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-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package xmlrpc
diff --git a/lib/xmlrpc/xmlrpc.go b/lib/xmlrpc/xmlrpc.go
index e35ce765..19b3458d 100644
--- a/lib/xmlrpc/xmlrpc.go
+++ b/lib/xmlrpc/xmlrpc.go
@@ -1,6 +1,6 @@
-// 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-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
// Package xmlrpc provide an implementation of XML-RPC specification,
// http://xmlrpc.com/spec.md.