From d179fcb6ca8a41c2a6e98062a2d171d59d042fa5 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 18 Sep 2021 19:21:41 +0200 Subject: [PATCH] adjust license header formatting --- template/helpers.go | 18 +++++------------- template/helpers_test.go | 18 +++++------------- template/template.go | 18 +++++------------- 3 files changed, 15 insertions(+), 39 deletions(-) diff --git a/template/helpers.go b/template/helpers.go index 534c7d0..a69879e 100644 --- a/template/helpers.go +++ b/template/helpers.go @@ -1,16 +1,8 @@ -// Copyright 2018 Drone.IO Inc -// -// 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. +// Copyright (c) 2018, Drone.IO Inc +// Copyright (c) 2021, Robert Kaussow + +// Use of this source code is governed by an Apache 2.0 license that can be +// found in the LICENSE file. package template diff --git a/template/helpers_test.go b/template/helpers_test.go index 51a21fb..65af8dc 100644 --- a/template/helpers_test.go +++ b/template/helpers_test.go @@ -1,16 +1,8 @@ -// Copyright 2018 Drone.IO Inc -// -// 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. +// Copyright (c) 2018, Drone.IO Inc +// Copyright (c) 2021, Robert Kaussow + +// Use of this source code is governed by an Apache 2.0 license that can be +// found in the LICENSE file. package template diff --git a/template/template.go b/template/template.go index a9068ab..b85caac 100644 --- a/template/template.go +++ b/template/template.go @@ -1,16 +1,8 @@ -// Copyright 2018 Drone.IO Inc -// -// 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. +// Copyright (c) 2018, Drone.IO Inc +// Copyright (c) 2021, Robert Kaussow + +// Use of this source code is governed by an Apache 2.0 license that can be +// found in the LICENSE file. package template