From 33e3673691c95364c073da1eab846794bbbd7142 Mon Sep 17 00:00:00 2001 From: Manuel Koch Date: Tue, 19 Dec 2023 21:16:33 +0100 Subject: [PATCH] Add license header to files --- app/app.go | 16 ++++++++++++++++ app/logger.go | 16 ++++++++++++++++ go.mod | 17 +++++++++++++++++ logging/logging.go | 18 +++++++++++++++++- main.go | 16 ++++++++++++++++ service/lid.go | 16 ++++++++++++++++ service/logger.go | 16 ++++++++++++++++ service/service.go | 16 ++++++++++++++++ service/wlan.go | 16 ++++++++++++++++ utils/match.go | 16 ++++++++++++++++ 10 files changed, 162 insertions(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index 1ca6ee6..aff8004 100644 --- a/app/app.go +++ b/app/app.go @@ -1,3 +1,19 @@ +// This file is part of go-auto-wlan. +// +// go-auto-wlan 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, either version 3 of the License, or +// (at your option) any later version. +// +// go-auto-wlan 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 go-auto-wlan. If not, see . +// +// Copyright 2023 Manuel Koch package app import ( diff --git a/app/logger.go b/app/logger.go index 2f0adf0..0b2775d 100644 --- a/app/logger.go +++ b/app/logger.go @@ -1,3 +1,19 @@ +// This file is part of go-auto-wlan. +// +// go-auto-wlan 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, either version 3 of the License, or +// (at your option) any later version. +// +// go-auto-wlan 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 go-auto-wlan. If not, see . +// +// Copyright 2023 Manuel Koch package app import log "github.com/sirupsen/logrus" diff --git a/go.mod b/go.mod index 41edaee..836d2b4 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,20 @@ +// This file is part of go-auto-wlan. +// +// go-auto-wlan 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, either version 3 of the License, or +// (at your option) any later version. +// +// go-auto-wlan 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 go-auto-wlan. If not, see . +// +// Copyright 2023 Manuel Koch +// module github.com/manuel-koch/go-auto-wlan go 1.21 diff --git a/logging/logging.go b/logging/logging.go index dc98c59..8efe782 100644 --- a/logging/logging.go +++ b/logging/logging.go @@ -1,3 +1,19 @@ +// This file is part of go-auto-wlan. +// +// go-auto-wlan 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, either version 3 of the License, or +// (at your option) any later version. +// +// go-auto-wlan 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 go-auto-wlan. If not, see . +// +// Copyright 2023 Manuel Koch package logging import ( @@ -9,7 +25,7 @@ import ( log "github.com/sirupsen/logrus" ) -// ConfigureLoggin will setup logging +// ConfigureLogging will setup logging // to log using named log level // to log to optional path. func ConfigueLogging(jsonFormat bool, logLevel string, logPath string) { diff --git a/main.go b/main.go index a58a69b..27c01e5 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,19 @@ +// This file is part of go-auto-wlan. +// +// go-auto-wlan 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, either version 3 of the License, or +// (at your option) any later version. +// +// go-auto-wlan 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 go-auto-wlan. If not, see . +// +// Copyright 2023 Manuel Koch package main import ( diff --git a/service/lid.go b/service/lid.go index b2964b9..57fb148 100644 --- a/service/lid.go +++ b/service/lid.go @@ -1,3 +1,19 @@ +// This file is part of go-auto-wlan. +// +// go-auto-wlan 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, either version 3 of the License, or +// (at your option) any later version. +// +// go-auto-wlan 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 go-auto-wlan. If not, see . +// +// Copyright 2023 Manuel Koch package service import ( diff --git a/service/logger.go b/service/logger.go index d803b5f..a301456 100644 --- a/service/logger.go +++ b/service/logger.go @@ -1,3 +1,19 @@ +// This file is part of go-auto-wlan. +// +// go-auto-wlan 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, either version 3 of the License, or +// (at your option) any later version. +// +// go-auto-wlan 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 go-auto-wlan. If not, see . +// +// Copyright 2023 Manuel Koch package service import log "github.com/sirupsen/logrus" diff --git a/service/service.go b/service/service.go index ca922b3..6f1f59c 100644 --- a/service/service.go +++ b/service/service.go @@ -1,3 +1,19 @@ +// This file is part of go-auto-wlan. +// +// go-auto-wlan 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, either version 3 of the License, or +// (at your option) any later version. +// +// go-auto-wlan 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 go-auto-wlan. If not, see . +// +// Copyright 2023 Manuel Koch package service import ( diff --git a/service/wlan.go b/service/wlan.go index 9f69c78..4fd7ca5 100644 --- a/service/wlan.go +++ b/service/wlan.go @@ -1,3 +1,19 @@ +// This file is part of go-auto-wlan. +// +// go-auto-wlan 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, either version 3 of the License, or +// (at your option) any later version. +// +// go-auto-wlan 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 go-auto-wlan. If not, see . +// +// Copyright 2023 Manuel Koch package service import ( diff --git a/utils/match.go b/utils/match.go index 66014fe..2407fbf 100644 --- a/utils/match.go +++ b/utils/match.go @@ -1,3 +1,19 @@ +// This file is part of go-auto-wlan. +// +// go-auto-wlan 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, either version 3 of the License, or +// (at your option) any later version. +// +// go-auto-wlan 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 go-auto-wlan. If not, see . +// +// Copyright 2023 Manuel Koch package utils import "regexp"