From 046b0e49d1a6e6150fc890d3a21a8bcbc947b5da Mon Sep 17 00:00:00 2001 From: Sida Chen Date: Tue, 5 Mar 2019 11:42:59 -0500 Subject: [PATCH] Add missing licenses --- api/v3/util.go | 14 ++++++++++++++ database/pgsql/ancestry.go | 14 ++++++++++++++ database/pgsql/migrations/util.go | 14 ++++++++++++++ ext/featurens/driver_test.go | 14 ++++++++++++++ pkg/formatter/formatter.go | 14 ++++++++++++++ 5 files changed, 70 insertions(+) diff --git a/api/v3/util.go b/api/v3/util.go index fa0ff3bc..f89db2e0 100644 --- a/api/v3/util.go +++ b/api/v3/util.go @@ -1,3 +1,17 @@ +// Copyright 2019 clair authors +// +// 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 v3 import ( diff --git a/database/pgsql/ancestry.go b/database/pgsql/ancestry.go index 992e9dd3..40a49e86 100644 --- a/database/pgsql/ancestry.go +++ b/database/pgsql/ancestry.go @@ -1,3 +1,17 @@ +// Copyright 2019 clair authors +// +// 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 pgsql import ( diff --git a/database/pgsql/migrations/util.go b/database/pgsql/migrations/util.go index 8b8898e0..794e759e 100644 --- a/database/pgsql/migrations/util.go +++ b/database/pgsql/migrations/util.go @@ -1,3 +1,17 @@ +// Copyright 2019 clair authors +// +// 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 migrations import "github.com/remind101/migrate" diff --git a/ext/featurens/driver_test.go b/ext/featurens/driver_test.go index 1f463d45..3919a548 100644 --- a/ext/featurens/driver_test.go +++ b/ext/featurens/driver_test.go @@ -1,3 +1,17 @@ +// Copyright 2019 clair authors +// +// 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 featurens_test import ( diff --git a/pkg/formatter/formatter.go b/pkg/formatter/formatter.go index 021ffb46..1bdf4a13 100644 --- a/pkg/formatter/formatter.go +++ b/pkg/formatter/formatter.go @@ -1,3 +1,17 @@ +// Copyright 2019 clair authors +// +// 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 formatter import (