aboutsummaryrefslogtreecommitdiff
path: root/http/response
diff options
context:
space:
mode:
Diffstat (limited to 'http/response')
-rw-r--r--http/response/builder.go5
-rw-r--r--http/response/builder_test.go5
-rw-r--r--http/response/doc.go8
-rw-r--r--http/response/html/doc.go8
-rw-r--r--http/response/html/html.go5
-rw-r--r--http/response/html/html_test.go5
-rw-r--r--http/response/json/doc.go8
-rw-r--r--http/response/json/json.go5
-rw-r--r--http/response/json/json_test.go5
-rw-r--r--http/response/xml/doc.go8
-rw-r--r--http/response/xml/xml.go5
-rw-r--r--http/response/xml/xml_test.go5
12 files changed, 16 insertions, 56 deletions
diff --git a/http/response/builder.go b/http/response/builder.go
index 99197293..33c144b5 100644
--- a/http/response/builder.go
+++ b/http/response/builder.go
@@ -1,6 +1,5 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
+// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
+// SPDX-License-Identifier: Apache-2.0
package response // import "miniflux.app/http/response"
diff --git a/http/response/builder_test.go b/http/response/builder_test.go
index c154dfe3..069eba78 100644
--- a/http/response/builder_test.go
+++ b/http/response/builder_test.go
@@ -1,6 +1,5 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
+// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
+// SPDX-License-Identifier: Apache-2.0
package response // import "miniflux.app/http/response"
diff --git a/http/response/doc.go b/http/response/doc.go
deleted file mode 100644
index 6987ae26..00000000
--- a/http/response/doc.go
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-/*
-Package response contains everything related to HTTP responses.
-*/
-package response // import "miniflux.app/http/response"
diff --git a/http/response/html/doc.go b/http/response/html/doc.go
deleted file mode 100644
index 9051ea4f..00000000
--- a/http/response/html/doc.go
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-/*
-Package html contains HTML response functions.
-*/
-package html // import "miniflux.app/http/response/html"
diff --git a/http/response/html/html.go b/http/response/html/html.go
index 3bba07f3..29d00592 100644
--- a/http/response/html/html.go
+++ b/http/response/html/html.go
@@ -1,6 +1,5 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
+// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
+// SPDX-License-Identifier: Apache-2.0
package html // import "miniflux.app/http/response/html"
diff --git a/http/response/html/html_test.go b/http/response/html/html_test.go
index 62c9bb80..433e1691 100644
--- a/http/response/html/html_test.go
+++ b/http/response/html/html_test.go
@@ -1,6 +1,5 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
+// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
+// SPDX-License-Identifier: Apache-2.0
package html // import "miniflux.app/http/response/html"
diff --git a/http/response/json/doc.go b/http/response/json/doc.go
deleted file mode 100644
index 7c10e5e6..00000000
--- a/http/response/json/doc.go
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-/*
-Package json contains JSON response functions.
-*/
-package json // import "miniflux.app/http/response/json"
diff --git a/http/response/json/json.go b/http/response/json/json.go
index dfd49784..3033045d 100644
--- a/http/response/json/json.go
+++ b/http/response/json/json.go
@@ -1,6 +1,5 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
+// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
+// SPDX-License-Identifier: Apache-2.0
package json // import "miniflux.app/http/response/json"
diff --git a/http/response/json/json_test.go b/http/response/json/json_test.go
index ee5580bf..1f3e6f19 100644
--- a/http/response/json/json_test.go
+++ b/http/response/json/json_test.go
@@ -1,6 +1,5 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
+// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
+// SPDX-License-Identifier: Apache-2.0
package json // import "miniflux.app/http/response/json"
diff --git a/http/response/xml/doc.go b/http/response/xml/doc.go
deleted file mode 100644
index 8ca4655e..00000000
--- a/http/response/xml/doc.go
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-/*
-Package xml contains XML response functions.
-*/
-package xml // import "miniflux.app/http/response/xml"
diff --git a/http/response/xml/xml.go b/http/response/xml/xml.go
index 771a85ef..de26ad66 100644
--- a/http/response/xml/xml.go
+++ b/http/response/xml/xml.go
@@ -1,6 +1,5 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
+// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
+// SPDX-License-Identifier: Apache-2.0
package xml // import "miniflux.app/http/response/xml"
diff --git a/http/response/xml/xml_test.go b/http/response/xml/xml_test.go
index ada6bd4f..638e14d4 100644
--- a/http/response/xml/xml_test.go
+++ b/http/response/xml/xml_test.go
@@ -1,6 +1,5 @@
-// Copyright 2018 Frédéric Guillot. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
+// SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved.
+// SPDX-License-Identifier: Apache-2.0
package xml // import "miniflux.app/http/response/xml"