From 56bb9016885d8c1a6c4d89331a451eec24f3a59b Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Thu, 19 Jul 2018 08:55:04 +0200 Subject: [PATCH] Add copyright file headers. --- utils/client.go | 13 +++++++++++++ utils/do.go | 13 +++++++++++++ utils/filter.go | 13 +++++++++++++ utils/filter_test.go | 12 ++++++++++++ utils/pqueue.go | 13 +++++++++++++ utils/pqueue_test.go | 12 ++++++++++++ vt/main.go | 2 +- yaml/sorter.go | 13 +++++++++++++ yaml/yaml.go | 13 +++++++++++++ yaml/yaml_test.go | 12 ++++++++++++ 10 files changed, 115 insertions(+), 1 deletion(-) diff --git a/utils/client.go b/utils/client.go index c0b0304..ab34147 100644 --- a/utils/client.go +++ b/utils/client.go @@ -1,3 +1,16 @@ +// Copyright © 2017 The VirusTotal CLI authors. All Rights Reserved. +// 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 utils import ( diff --git a/utils/do.go b/utils/do.go index 3960bb2..a61a010 100644 --- a/utils/do.go +++ b/utils/do.go @@ -1,3 +1,16 @@ +// Copyright © 2017 The VirusTotal CLI authors. All Rights Reserved. +// 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 utils import ( diff --git a/utils/filter.go b/utils/filter.go index 620d365..7307ac0 100644 --- a/utils/filter.go +++ b/utils/filter.go @@ -1,3 +1,16 @@ +// Copyright © 2017 The VirusTotal CLI authors. All Rights Reserved. +// 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 utils import ( diff --git a/utils/filter_test.go b/utils/filter_test.go index 2dbbb51..5f70534 100644 --- a/utils/filter_test.go +++ b/utils/filter_test.go @@ -1,3 +1,15 @@ +// Copyright © 2017 The VirusTotal CLI authors. All Rights Reserved. +// 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 utils_test import ( diff --git a/utils/pqueue.go b/utils/pqueue.go index d132e7a..30636fd 100644 --- a/utils/pqueue.go +++ b/utils/pqueue.go @@ -1,3 +1,16 @@ +// Copyright © 2017 The VirusTotal CLI authors. All Rights Reserved. +// 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 utils // PQueueNode is a node in a priority queues diff --git a/utils/pqueue_test.go b/utils/pqueue_test.go index c002574..2f1b6ed 100644 --- a/utils/pqueue_test.go +++ b/utils/pqueue_test.go @@ -1,3 +1,15 @@ +// Copyright © 2017 The VirusTotal CLI authors. All Rights Reserved. +// 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 utils_test import ( diff --git a/vt/main.go b/vt/main.go index cbb4d61..33bcda8 100644 --- a/vt/main.go +++ b/vt/main.go @@ -1,4 +1,4 @@ -// Copyright © 2017 NAME HERE +// Copyright © 2017 VirusTotal CLI authors. All Rights Reserved. // 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 diff --git a/yaml/sorter.go b/yaml/sorter.go index 13656c9..c9a9513 100644 --- a/yaml/sorter.go +++ b/yaml/sorter.go @@ -1,3 +1,16 @@ +// Copyright © 2017 VirusTotal CLI authors. All Rights Reserved. +// 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 yaml import ( diff --git a/yaml/yaml.go b/yaml/yaml.go index 8911423..4962461 100644 --- a/yaml/yaml.go +++ b/yaml/yaml.go @@ -1,3 +1,16 @@ +// Copyright © 2017 VirusTotal CLI authors. All Rights Reserved. +// 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 yaml import ( diff --git a/yaml/yaml_test.go b/yaml/yaml_test.go index 6a8ab73..1a832d6 100644 --- a/yaml/yaml_test.go +++ b/yaml/yaml_test.go @@ -1,3 +1,15 @@ +// Copyright © 2017 VirusTotal CLI authors. All Rights Reserved. +// 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 yaml import (