From f4b4d4e2a33caa314dbe66302585430ec24f0958 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 8 Dec 2023 11:15:42 +0300 Subject: [PATCH] Unify copyright comment format --- field.go | 30 ++++++++++++++---------------- r.go | 30 ++++++++++++++---------------- slog/handler.go | 15 +++++++++++++++ slog/handler_test.go | 15 +++++++++++++++ w.go | 30 ++++++++++++++---------------- 5 files changed, 72 insertions(+), 48 deletions(-) diff --git a/field.go b/field.go index 2024366..5d561da 100644 --- a/field.go +++ b/field.go @@ -1,19 +1,17 @@ -/* -recfile -- GNU recutils'es recfiles parser on pure Go -Copyright (C) 2020-2023 Sergey Matveev - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, version 3 of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ +// recfile -- GNU recutils'es recfiles parser on pure Go +// Copyright (C) 2020-2024 Sergey Matveev +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, version 3 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . // GNU recutils'es recfiles parser/writer on pure Go package recfile diff --git a/r.go b/r.go index 5de2a45..a16f847 100644 --- a/r.go +++ b/r.go @@ -1,19 +1,17 @@ -/* -recfile -- GNU recutils'es recfiles parser on pure Go -Copyright (C) 2020-2023 Sergey Matveev - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, version 3 of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ +// recfile -- GNU recutils'es recfiles parser on pure Go +// Copyright (C) 2020-2024 Sergey Matveev +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, version 3 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . package recfile diff --git a/slog/handler.go b/slog/handler.go index 0a2acd4..43f1a13 100644 --- a/slog/handler.go +++ b/slog/handler.go @@ -1,3 +1,18 @@ +// recfile -- GNU recutils'es recfiles parser on pure Go +// Copyright (C) 2020-2024 Sergey Matveev +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, version 3 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + package slog import ( diff --git a/slog/handler_test.go b/slog/handler_test.go index 19fdd82..ada1c86 100644 --- a/slog/handler_test.go +++ b/slog/handler_test.go @@ -1,3 +1,18 @@ +// recfile -- GNU recutils'es recfiles parser on pure Go +// Copyright (C) 2020-2024 Sergey Matveev +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, version 3 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + package slog import ( diff --git a/w.go b/w.go index 2bd06df..38fb2d7 100644 --- a/w.go +++ b/w.go @@ -1,19 +1,17 @@ -/* -recfile -- GNU recutils'es recfiles parser on pure Go -Copyright (C) 2020-2023 Sergey Matveev - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, version 3 of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ +// recfile -- GNU recutils'es recfiles parser on pure Go +// Copyright (C) 2020-2024 Sergey Matveev +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, version 3 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . package recfile -- 2.44.0