diff --git a/components/grpc/import/import.go b/components/grpc/import/import.go index c84cd3b9a..a587b9011 100644 --- a/components/grpc/import/import.go +++ b/components/grpc/import/import.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package example import ( diff --git a/components/guns/http/base.go b/components/guns/http/base.go index 50cd433de..c7d2fb348 100644 --- a/components/guns/http/base.go +++ b/components/guns/http/base.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package phttp import ( diff --git a/components/guns/http/base_test.go b/components/guns/http/base_test.go index cb9093aa4..ea97e6259 100644 --- a/components/guns/http/base_test.go +++ b/components/guns/http/base_test.go @@ -1,7 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor package phttp import ( diff --git a/components/guns/http/client.go b/components/guns/http/client.go index e42787fd2..94821d56d 100644 --- a/components/guns/http/client.go +++ b/components/guns/http/client.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package phttp import ( diff --git a/components/guns/http/connect.go b/components/guns/http/connect.go index 64f439b3e..e3416c86e 100644 --- a/components/guns/http/connect.go +++ b/components/guns/http/connect.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package phttp import ( diff --git a/components/guns/http/connect_test.go b/components/guns/http/connect_test.go index 0f86d74ee..e83955d2c 100644 --- a/components/guns/http/connect_test.go +++ b/components/guns/http/connect_test.go @@ -1,7 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. - package phttp import ( diff --git a/components/guns/http/core.go b/components/guns/http/core.go index 072d91607..1a60ba5a3 100644 --- a/components/guns/http/core.go +++ b/components/guns/http/core.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package phttp import ( diff --git a/components/guns/http/doc.go b/components/guns/http/doc.go index 067925107..c79547468 100644 --- a/components/guns/http/doc.go +++ b/components/guns/http/doc.go @@ -1,7 +1,2 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - // package phttp (pandora http) contains pandora extension points for HTTP related protocols. package phttp diff --git a/components/guns/http/http.go b/components/guns/http/http.go index 4924f9a31..ddf8b9fd8 100644 --- a/components/guns/http/http.go +++ b/components/guns/http/http.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package phttp import ( diff --git a/components/guns/http/http_test.go b/components/guns/http/http_test.go index 5f06b1d2d..e03f1ad9a 100644 --- a/components/guns/http/http_test.go +++ b/components/guns/http/http_test.go @@ -1,7 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. - package phttp import ( diff --git a/components/providers/grpc/ammo.go b/components/providers/grpc/ammo.go index 5433ba124..1f0058cb0 100644 --- a/components/providers/grpc/ammo.go +++ b/components/providers/grpc/ammo.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package ammo type Ammo struct { diff --git a/components/providers/grpc/grpcjson/provider.go b/components/providers/grpc/grpcjson/provider.go index 8fefd1c0f..82359f4b6 100644 --- a/components/providers/grpc/grpcjson/provider.go +++ b/components/providers/grpc/grpcjson/provider.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package grpcjson import ( diff --git a/components/providers/grpc/provider.go b/components/providers/grpc/provider.go index 57f0b5bfd..08594efcb 100644 --- a/components/providers/grpc/provider.go +++ b/components/providers/grpc/provider.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package ammo import ( diff --git a/components/providers/http/ammo/ammo.go b/components/providers/http/ammo/ammo.go index bdabdc133..6ac91081d 100644 --- a/components/providers/http/ammo/ammo.go +++ b/components/providers/http/ammo/ammo.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package ammo import ( diff --git a/components/providers/http/provider.go b/components/providers/http/provider.go index e52232b8b..0c38f4eb2 100644 --- a/components/providers/http/provider.go +++ b/components/providers/http/provider.go @@ -1,7 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. - package http import ( diff --git a/core/aggregator/discard.go b/core/aggregator/discard.go index 6dae8647f..d2f3a891f 100644 --- a/core/aggregator/discard.go +++ b/core/aggregator/discard.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package aggregator import ( diff --git a/core/aggregator/encoder.go b/core/aggregator/encoder.go index 246948070..06ed2a975 100644 --- a/core/aggregator/encoder.go +++ b/core/aggregator/encoder.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package aggregator import ( diff --git a/core/aggregator/encoder_test.go b/core/aggregator/encoder_test.go index 7588364c3..d8f3b3cfb 100644 --- a/core/aggregator/encoder_test.go +++ b/core/aggregator/encoder_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package aggregator import ( diff --git a/core/aggregator/jsonlines.go b/core/aggregator/jsonlines.go index a66e26eeb..6d1117c13 100644 --- a/core/aggregator/jsonlines.go +++ b/core/aggregator/jsonlines.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package aggregator import ( diff --git a/core/aggregator/jsonlines_test.go b/core/aggregator/jsonlines_test.go index 0ca60fbf9..afc1d6d9b 100644 --- a/core/aggregator/jsonlines_test.go +++ b/core/aggregator/jsonlines_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package aggregator import ( diff --git a/core/aggregator/log.go b/core/aggregator/log.go index 681dca3ee..3f79f719e 100644 --- a/core/aggregator/log.go +++ b/core/aggregator/log.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package aggregator import ( diff --git a/core/aggregator/netsample/mock_aggregator.go b/core/aggregator/netsample/mock_aggregator.go index 2b60051a1..7cd54acb9 100644 --- a/core/aggregator/netsample/mock_aggregator.go +++ b/core/aggregator/netsample/mock_aggregator.go @@ -5,8 +5,8 @@ package netsample import ( context "context" - mock "github.com/stretchr/testify/mock" core "github.com/yandex/pandora/core" + mock "github.com/stretchr/testify/mock" ) // MockAggregator is an autogenerated mock type for the Aggregator type diff --git a/core/aggregator/netsample/sample.go b/core/aggregator/netsample/sample.go index 14de66af0..48b634930 100644 --- a/core/aggregator/netsample/sample.go +++ b/core/aggregator/netsample/sample.go @@ -1,8 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package netsample import ( diff --git a/core/aggregator/netsample/sample_test.go b/core/aggregator/netsample/sample_test.go index 94cdeef53..2c705388f 100644 --- a/core/aggregator/netsample/sample_test.go +++ b/core/aggregator/netsample/sample_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package netsample import ( diff --git a/core/aggregator/netsample/test.go b/core/aggregator/netsample/test.go index 268bdc146..72b094a58 100644 --- a/core/aggregator/netsample/test.go +++ b/core/aggregator/netsample/test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package netsample import ( diff --git a/core/aggregator/reporter.go b/core/aggregator/reporter.go index c7809e897..5a03971a7 100644 --- a/core/aggregator/reporter.go +++ b/core/aggregator/reporter.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package aggregator import ( diff --git a/core/aggregator/reporter_test.go b/core/aggregator/reporter_test.go index a1f950fec..0f00db51f 100644 --- a/core/aggregator/reporter_test.go +++ b/core/aggregator/reporter_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package aggregator import ( diff --git a/core/aggregator/test.go b/core/aggregator/test.go index a57b667f7..930906545 100644 --- a/core/aggregator/test.go +++ b/core/aggregator/test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package aggregator import ( diff --git a/core/config/config.go b/core/config/config.go index 37f24d2ea..06f630ac4 100644 --- a/core/config/config.go +++ b/core/config/config.go @@ -1,8 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package config import ( diff --git a/core/config/config_test.go b/core/config/config_test.go index e788b7e2f..185ea0724 100644 --- a/core/config/config_test.go +++ b/core/config/config_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package config import ( diff --git a/core/config/doc.go b/core/config/doc.go index 70796cc3c..bd2ae49c5 100644 --- a/core/config/doc.go +++ b/core/config/doc.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - // Package config provides advanced framework to decode and validate // configuration structs. package config diff --git a/core/config/hooks.go b/core/config/hooks.go index 0fe69096b..e79b64fe5 100644 --- a/core/config/hooks.go +++ b/core/config/hooks.go @@ -1,8 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package config import ( diff --git a/core/config/hooks_test.go b/core/config/hooks_test.go index 1694084c0..8bafa0907 100644 --- a/core/config/hooks_test.go +++ b/core/config/hooks_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package config import ( diff --git a/core/config/validations.go b/core/config/validations.go index 6dd310584..c912c5a47 100644 --- a/core/config/validations.go +++ b/core/config/validations.go @@ -1,6 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Author: Vladimir Skipor - package config import ( diff --git a/core/config/validations_test.go b/core/config/validations_test.go index 0d74acc89..e3dfd3045 100644 --- a/core/config/validations_test.go +++ b/core/config/validations_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package config import ( diff --git a/core/config/validator.go b/core/config/validator.go index 6134d3981..8f482b3b7 100644 --- a/core/config/validator.go +++ b/core/config/validator.go @@ -1,6 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Author: Vladimir Skipor - package config import ( diff --git a/core/config/validator_test.go b/core/config/validator_test.go index bbfc6fd35..8836ccac5 100644 --- a/core/config/validator_test.go +++ b/core/config/validator_test.go @@ -1,6 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Author: Vladimir Skipor - package config import ( diff --git a/core/core.go b/core/core.go index 2fbf676a1..36191f7d1 100644 --- a/core/core.go +++ b/core/core.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - // package core defines pandora engine extension points. // Core interfaces implementations MAY be used for custom engine creation and using as a library, // or MAY be registered in pandora plugin system (look at core/plugin package), for creating engine diff --git a/core/coretest/config.go b/core/coretest/config.go index b05c8b11a..d24a783a3 100644 --- a/core/coretest/config.go +++ b/core/coretest/config.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coretest import ( diff --git a/core/coretest/schedule.go b/core/coretest/schedule.go index 7a995ede3..11ebfaff2 100644 --- a/core/coretest/schedule.go +++ b/core/coretest/schedule.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coretest import ( diff --git a/core/coretest/sink.go b/core/coretest/sink.go index 191c44111..ffe364f81 100644 --- a/core/coretest/sink.go +++ b/core/coretest/sink.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coretest import ( diff --git a/core/coretest/source.go b/core/coretest/source.go index 9aa94bdb7..6df3d692b 100644 --- a/core/coretest/source.go +++ b/core/coretest/source.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coretest import ( diff --git a/core/coreutil/ammo.go b/core/coreutil/ammo.go index a2ce8a667..7b06a1900 100644 --- a/core/coreutil/ammo.go +++ b/core/coreutil/ammo.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coreutil import ( diff --git a/core/coreutil/buffer_size_config.go b/core/coreutil/buffer_size_config.go index a7fac9293..a5eecf170 100644 --- a/core/coreutil/buffer_size_config.go +++ b/core/coreutil/buffer_size_config.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coreutil import ( diff --git a/core/coreutil/buffer_size_config_test.go b/core/coreutil/buffer_size_config_test.go index aeb8fbd13..4cea80ebe 100644 --- a/core/coreutil/buffer_size_config_test.go +++ b/core/coreutil/buffer_size_config_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coreutil import ( diff --git a/core/coreutil/data.go b/core/coreutil/data.go index 241e8ca31..f57a14a77 100644 --- a/core/coreutil/data.go +++ b/core/coreutil/data.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coreutil import ( diff --git a/core/coreutil/doc.go b/core/coreutil/doc.go index 6ee897e82..5c7045ec8 100644 --- a/core/coreutil/doc.go +++ b/core/coreutil/doc.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - // package coreutil provides utilities for core interfaces, that can be useful // not only for engine, but other core importers too. // coreutil MUST NOT depend on any core subpackage, because they may import coreutil. diff --git a/core/coreutil/sample.go b/core/coreutil/sample.go index 5c56c5c1b..7b1e29218 100644 --- a/core/coreutil/sample.go +++ b/core/coreutil/sample.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coreutil import "github.com/yandex/pandora/core" diff --git a/core/coreutil/schedule.go b/core/coreutil/schedule.go index f56537858..1a663865b 100644 --- a/core/coreutil/schedule.go +++ b/core/coreutil/schedule.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coreutil import ( diff --git a/core/coreutil/schedule_test.go b/core/coreutil/schedule_test.go index 196f5a0d6..b1ebd831c 100644 --- a/core/coreutil/schedule_test.go +++ b/core/coreutil/schedule_test.go @@ -1,7 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. - package coreutil import ( diff --git a/core/coreutil/waiter.go b/core/coreutil/waiter.go index 972e80c12..867a10ef8 100644 --- a/core/coreutil/waiter.go +++ b/core/coreutil/waiter.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coreutil import ( diff --git a/core/coreutil/waiter_test.go b/core/coreutil/waiter_test.go index 5a94ba40c..7d1fb8cf8 100644 --- a/core/coreutil/waiter_test.go +++ b/core/coreutil/waiter_test.go @@ -1,7 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. - package coreutil import ( diff --git a/core/datasink/file.go b/core/datasink/file.go index 610cff137..0341e7cb0 100644 --- a/core/datasink/file.go +++ b/core/datasink/file.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package datasink import ( diff --git a/core/datasink/file_test.go b/core/datasink/file_test.go index df6ef0dd9..bf4ce215e 100644 --- a/core/datasink/file_test.go +++ b/core/datasink/file_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package datasink import ( diff --git a/core/datasink/std.go b/core/datasink/std.go index cfae62f7d..be5d83c40 100644 --- a/core/datasink/std.go +++ b/core/datasink/std.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package datasink import ( diff --git a/core/datasource/file.go b/core/datasource/file.go index f5a885521..8cf662d2e 100644 --- a/core/datasource/file.go +++ b/core/datasource/file.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package datasource import ( diff --git a/core/datasource/file_test.go b/core/datasource/file_test.go index 714655a27..0d75952e2 100644 --- a/core/datasource/file_test.go +++ b/core/datasource/file_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package datasource import ( diff --git a/core/datasource/std.go b/core/datasource/std.go index a9f0aa222..2edb06953 100644 --- a/core/datasource/std.go +++ b/core/datasource/std.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package datasource import ( diff --git a/core/engine/engine.go b/core/engine/engine.go index 893528b9f..a2d3f21e0 100644 --- a/core/engine/engine.go +++ b/core/engine/engine.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package engine import ( diff --git a/core/engine/instance.go b/core/engine/instance.go index da8e4ad3e..9f153a022 100644 --- a/core/engine/instance.go +++ b/core/engine/instance.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package engine import ( diff --git a/core/import/import.go b/core/import/import.go index 8397bcad3..3659b26a9 100644 --- a/core/import/import.go +++ b/core/import/import.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coreimport import ( diff --git a/core/mocks/extras.go b/core/mocks/extras.go index f0cae4c83..543f3d9d3 100644 --- a/core/mocks/extras.go +++ b/core/mocks/extras.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package coremock import ( diff --git a/core/plugin/constructor.go b/core/plugin/constructor.go index 399befd7d..f3a01d20f 100644 --- a/core/plugin/constructor.go +++ b/core/plugin/constructor.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package plugin import ( diff --git a/core/plugin/constructor_test.go b/core/plugin/constructor_test.go index a6c0d1270..318d5a443 100644 --- a/core/plugin/constructor_test.go +++ b/core/plugin/constructor_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package plugin import ( diff --git a/core/plugin/doc.go b/core/plugin/doc.go index 59b90d8df..fbb84e19c 100644 --- a/core/plugin/doc.go +++ b/core/plugin/doc.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - // Package plugin provides a generic inversion of control model for making // extensible Go packages, libraries, and applications. Like // github.com/progrium/go-extpoints, but reflect based: doesn't require code diff --git a/core/plugin/example_test.go b/core/plugin/example_test.go index b2f1954cb..0f7cbed18 100644 --- a/core/plugin/example_test.go +++ b/core/plugin/example_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package plugin_test import "github.com/yandex/pandora/core/plugin" diff --git a/core/plugin/plugin.go b/core/plugin/plugin.go index 1d7f00619..80bf03185 100644 --- a/core/plugin/plugin.go +++ b/core/plugin/plugin.go @@ -1,8 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package plugin import ( diff --git a/core/plugin/plugin_test.go b/core/plugin/plugin_test.go index 8dcbf968d..e94f64d04 100644 --- a/core/plugin/plugin_test.go +++ b/core/plugin/plugin_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package plugin import ( diff --git a/core/plugin/pluginconfig/hooks.go b/core/plugin/pluginconfig/hooks.go index 4c3e44106..6b7de7e52 100644 --- a/core/plugin/pluginconfig/hooks.go +++ b/core/plugin/pluginconfig/hooks.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - // Package pluginconfig contains integration plugin with config packages. // Doing such integration in different package allows to config and plugin packages // not depend on each other, and set hooks when their are really needed. diff --git a/core/plugin/pluginconfig/hooks_test.go b/core/plugin/pluginconfig/hooks_test.go index 7237d31e2..8a909f2dd 100644 --- a/core/plugin/pluginconfig/hooks_test.go +++ b/core/plugin/pluginconfig/hooks_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package pluginconfig import ( diff --git a/core/plugin/ptest_test.go b/core/plugin/ptest_test.go index e8f94e75b..d76e1de1f 100644 --- a/core/plugin/ptest_test.go +++ b/core/plugin/ptest_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package plugin import ( diff --git a/core/plugin/registry.go b/core/plugin/registry.go index 4ad36d59f..0d2f3bf57 100644 --- a/core/plugin/registry.go +++ b/core/plugin/registry.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package plugin import ( diff --git a/core/plugin/registry_test.go b/core/plugin/registry_test.go index c22a467a1..692fe0b48 100644 --- a/core/plugin/registry_test.go +++ b/core/plugin/registry_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package plugin import ( diff --git a/core/provider/chunk_decoder.go b/core/provider/chunk_decoder.go index 2fd851ca7..0e8edab36 100644 --- a/core/provider/chunk_decoder.go +++ b/core/provider/chunk_decoder.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package provider import ( diff --git a/core/provider/decoder.go b/core/provider/decoder.go index 01a923c38..ad7321b5c 100644 --- a/core/provider/decoder.go +++ b/core/provider/decoder.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package provider import ( diff --git a/core/provider/json.go b/core/provider/json.go index 820a991f0..2b7646a8f 100644 --- a/core/provider/json.go +++ b/core/provider/json.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package provider import ( diff --git a/core/provider/json_test.go b/core/provider/json_test.go index 807934df1..d44a510c1 100644 --- a/core/provider/json_test.go +++ b/core/provider/json_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package provider import ( diff --git a/core/provider/num.go b/core/provider/num.go index 772153b76..607706b3a 100644 --- a/core/provider/num.go +++ b/core/provider/num.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package provider import ( diff --git a/core/provider/queue.go b/core/provider/queue.go index ef208d5d6..aa337ab3e 100644 --- a/core/provider/queue.go +++ b/core/provider/queue.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package provider import ( diff --git a/core/register/register.go b/core/register/register.go index 3fd301d0e..e0e97db91 100644 --- a/core/register/register.go +++ b/core/register/register.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package register import ( diff --git a/core/schedule/composite.go b/core/schedule/composite.go index 249ab70c7..fd02f3f95 100644 --- a/core/schedule/composite.go +++ b/core/schedule/composite.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package schedule import ( diff --git a/core/schedule/composite_test.go b/core/schedule/composite_test.go index ed0737715..ec1b65f71 100644 --- a/core/schedule/composite_test.go +++ b/core/schedule/composite_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package schedule import ( diff --git a/core/schedule/const.go b/core/schedule/const.go index c7dc92fb0..c09a422e4 100644 --- a/core/schedule/const.go +++ b/core/schedule/const.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package schedule import ( diff --git a/core/schedule/do_at.go b/core/schedule/do_at.go index dddcaf696..099451585 100644 --- a/core/schedule/do_at.go +++ b/core/schedule/do_at.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package schedule import ( diff --git a/core/schedule/instance_step.go b/core/schedule/instance_step.go index 9724854ef..10c9c9c74 100644 --- a/core/schedule/instance_step.go +++ b/core/schedule/instance_step.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package schedule import ( diff --git a/core/schedule/line.go b/core/schedule/line.go index 4e9860ebe..c49bbb42f 100644 --- a/core/schedule/line.go +++ b/core/schedule/line.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package schedule import ( diff --git a/core/schedule/once.go b/core/schedule/once.go index 67e3be2e9..12d35e258 100644 --- a/core/schedule/once.go +++ b/core/schedule/once.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package schedule import ( diff --git a/core/schedule/start_sync.go b/core/schedule/start_sync.go index 43f35682b..a525eef7a 100644 --- a/core/schedule/start_sync.go +++ b/core/schedule/start_sync.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package schedule import ( diff --git a/core/schedule/step.go b/core/schedule/step.go index 7f48598ca..9898cda57 100644 --- a/core/schedule/step.go +++ b/core/schedule/step.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package schedule import ( diff --git a/core/schedule/unlilmited.go b/core/schedule/unlilmited.go index 680e8ec66..990c4d3a2 100644 --- a/core/schedule/unlilmited.go +++ b/core/schedule/unlilmited.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package schedule import ( diff --git a/examples/custom_pandora/custom_main.go b/examples/custom_pandora/custom_main.go index c25569f85..1b08f75fc 100644 --- a/examples/custom_pandora/custom_main.go +++ b/examples/custom_pandora/custom_main.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package main import ( diff --git a/lib/errutil/errutil.go b/lib/errutil/errutil.go index abee5482d..b429c1cd8 100644 --- a/lib/errutil/errutil.go +++ b/lib/errutil/errutil.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package errutil import ( diff --git a/lib/ioutil2/closer.go b/lib/ioutil2/closer.go index 3fcfea9be..df8d7a0c2 100644 --- a/lib/ioutil2/closer.go +++ b/lib/ioutil2/closer.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package ioutil2 // NopCloser may be embedded to any struct to implement io.Closer doing nothing on closer. diff --git a/lib/ioutil2/funcs.go b/lib/ioutil2/funcs.go index 4b654bb33..342dbcbab 100644 --- a/lib/ioutil2/funcs.go +++ b/lib/ioutil2/funcs.go @@ -1,6 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Author: Vladimir Skipor - package ioutil2 type ReaderFunc func(p []byte) (n int, err error) diff --git a/lib/ioutil2/io_mocks_test.go b/lib/ioutil2/io_mocks_test.go index 8cc3547b5..309dfe7ff 100644 --- a/lib/ioutil2/io_mocks_test.go +++ b/lib/ioutil2/io_mocks_test.go @@ -1,6 +1,3 @@ -// Copyright (c) 2016 Yandex LLC. All rights reserved. -// Author: Vladimir Skipor - package ioutil2 import "io" diff --git a/lib/ioutil2/reader.go b/lib/ioutil2/reader.go index c70bf25f4..b671bb5f5 100644 --- a/lib/ioutil2/reader.go +++ b/lib/ioutil2/reader.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package ioutil2 import "io" diff --git a/lib/ioutil2/writer.go b/lib/ioutil2/writer.go index 477dbc85c..3518fcdf2 100644 --- a/lib/ioutil2/writer.go +++ b/lib/ioutil2/writer.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package ioutil2 import ( diff --git a/lib/monitoring/counter.go b/lib/monitoring/counter.go index 6c8744014..a1610ea9d 100644 --- a/lib/monitoring/counter.go +++ b/lib/monitoring/counter.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package monitoring import ( diff --git a/lib/netutil/dial.go b/lib/netutil/dial.go index 7aa55704a..a79750738 100644 --- a/lib/netutil/dial.go +++ b/lib/netutil/dial.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package netutil import ( diff --git a/lib/tag/debug.go b/lib/tag/debug.go index ee36c25b0..9ac1c051b 100644 --- a/lib/tag/debug.go +++ b/lib/tag/debug.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - //go:build debug // +build debug diff --git a/lib/tag/no_degug.go b/lib/tag/no_degug.go index 697fb8ef2..2692a2362 100644 --- a/lib/tag/no_degug.go +++ b/lib/tag/no_degug.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - //go:build !debug // +build !debug diff --git a/lib/tag/no_race.go b/lib/tag/no_race.go index 7ccebb392..a261be15a 100644 --- a/lib/tag/no_race.go +++ b/lib/tag/no_race.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - //go:build !race // +build !race diff --git a/lib/tag/race.go b/lib/tag/race.go index 0cdaf0afb..bf83a325a 100644 --- a/lib/tag/race.go +++ b/lib/tag/race.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - //go:build race // +build race diff --git a/lib/testutil/afero.go b/lib/testutil/afero.go index da164b382..dd06ee24d 100644 --- a/lib/testutil/afero.go +++ b/lib/testutil/afero.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package testutil import ( diff --git a/lib/testutil/matchers.go b/lib/testutil/matchers.go index 78d6d268d..d2ac22bd6 100644 --- a/lib/testutil/matchers.go +++ b/lib/testutil/matchers.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package testutil import ( diff --git a/lib/testutil/matchers_test.go b/lib/testutil/matchers_test.go index 35f1565de..72a771110 100644 --- a/lib/testutil/matchers_test.go +++ b/lib/testutil/matchers_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package testutil import ( diff --git a/lib/testutil/util.go b/lib/testutil/util.go index 1dbca87ce..25a3d2e24 100644 --- a/lib/testutil/util.go +++ b/lib/testutil/util.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package testutil import ( diff --git a/lib/zaputil/stack_extract_core.go b/lib/zaputil/stack_extract_core.go index e596912b9..e73eafeaa 100644 --- a/lib/zaputil/stack_extract_core.go +++ b/lib/zaputil/stack_extract_core.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package zaputil import ( diff --git a/lib/zaputil/stack_extract_core_test.go b/lib/zaputil/stack_extract_core_test.go index 6aab4d9af..d5c26a41e 100644 --- a/lib/zaputil/stack_extract_core_test.go +++ b/lib/zaputil/stack_extract_core_test.go @@ -1,8 +1,3 @@ -// Copyright (c) 2018 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package zaputil import ( diff --git a/main.go b/main.go index 9d258e747..8c25937e8 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,3 @@ -// Copyright (c) 2017 Yandex LLC. All rights reserved. -// Use of this source code is governed by a MPL 2.0 -// license that can be found in the LICENSE file. -// Author: Vladimir Skipor - package main import (