From cd497dae9cdd19741f1e9effbfe38ea60a1fa4bf Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Sat, 20 Jan 2018 21:04:28 +0100 Subject: [PATCH] global: add license header --- cmd/mconnect-discover/main.go | 11 +++++++++++ discovery/listener.go | 11 +++++++++++ logger/context.go | 11 +++++++++++ logger/logger.go | 11 +++++++++++ logger/logrus.go | 11 +++++++++++ 5 files changed, 55 insertions(+) diff --git a/cmd/mconnect-discover/main.go b/cmd/mconnect-discover/main.go index 8f46c11..d78211e 100644 --- a/cmd/mconnect-discover/main.go +++ b/cmd/mconnect-discover/main.go @@ -1,3 +1,14 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package main import ( diff --git a/discovery/listener.go b/discovery/listener.go index f568275..e8d87a2 100644 --- a/discovery/listener.go +++ b/discovery/listener.go @@ -1,3 +1,14 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package discovery import ( diff --git a/logger/context.go b/logger/context.go index 545bd08..3cef3f8 100644 --- a/logger/context.go +++ b/logger/context.go @@ -1,3 +1,14 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package logger import ( diff --git a/logger/logger.go b/logger/logger.go index 7e889e1..71d1a2a 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -1,3 +1,14 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package logger type Logger interface { diff --git a/logger/logrus.go b/logger/logrus.go index b97cfeb..c4a0b0f 100644 --- a/logger/logrus.go +++ b/logger/logrus.go @@ -1,3 +1,14 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package logger import (