From d1af3ccd53be6594facf0613bbacf25e01813b3c Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 8 Dec 2023 11:31:09 +0300 Subject: [PATCH] Unify copyright comment format --- cmd/leapsecsdb/main.go | 30 ++++++++++++++---------------- cmd/tai64nlocal/main.go | 30 ++++++++++++++---------------- db.go | 30 ++++++++++++++---------------- leapsecs.go | 30 ++++++++++++++---------------- tai64n.go | 30 ++++++++++++++---------------- tai64n_test.go | 30 ++++++++++++++---------------- 6 files changed, 84 insertions(+), 96 deletions(-) diff --git a/cmd/leapsecsdb/main.go b/cmd/leapsecsdb/main.go index 548825c..9ef97e1 100644 --- a/cmd/leapsecsdb/main.go +++ b/cmd/leapsecsdb/main.go @@ -1,19 +1,17 @@ -/* -go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation -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 . -*/ +// go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation +// 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 main diff --git a/cmd/tai64nlocal/main.go b/cmd/tai64nlocal/main.go index f1fb222..4fa1926 100644 --- a/cmd/tai64nlocal/main.go +++ b/cmd/tai64nlocal/main.go @@ -1,19 +1,17 @@ -/* -go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation -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 . -*/ +// go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation +// 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 main diff --git a/db.go b/db.go index 0907196..06adb4b 100644 --- a/db.go +++ b/db.go @@ -1,19 +1,17 @@ -/* -go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation -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 . -*/ +// go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation +// 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 tai64n diff --git a/leapsecs.go b/leapsecs.go index f91a107..f834377 100644 --- a/leapsecs.go +++ b/leapsecs.go @@ -1,19 +1,17 @@ -/* -go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation -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 . -*/ +// go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation +// 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 tai64n diff --git a/tai64n.go b/tai64n.go index 2ffe3e8..3802bb8 100644 --- a/tai64n.go +++ b/tai64n.go @@ -1,19 +1,17 @@ -/* -go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation -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 . -*/ +// go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation +// 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 . // TAI64/TAI64N (http://cr.yp.to/libtai/tai64.html) dealing library. // You can convert time to TAI64/TAI64N and vice versa with it. diff --git a/tai64n_test.go b/tai64n_test.go index fd640c9..d5c83f5 100644 --- a/tai64n_test.go +++ b/tai64n_test.go @@ -1,19 +1,17 @@ -/* -go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation -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 . -*/ +// go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation +// 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 tai64n -- 2.44.0