From d270f968eb1f66fc843ebb7f9326538a37f1c5f2 Mon Sep 17 00:00:00 2001 From: Prabhat Sharma Date: Mon, 25 Apr 2022 15:00:27 -0700 Subject: [PATCH 01/10] image update --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- helm/zinc/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index da15b0fc0..b13913e96 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -21,7 +21,7 @@ assignees: '' **Security disclosures** -If you think you’ve found a potential security issue, please do not post it in the Issues. Instead, please email [Prabhat Sharma](mailto:admin+security@zinclabs.io). +If you think you’ve found a potential security issue, please do not post it in the Issues. Instead, please email [Zinc team](mailto:admin+security@zinclabs.io). --> diff --git a/helm/zinc/values.yaml b/helm/zinc/values.yaml index 300113653..e9743254e 100644 --- a/helm/zinc/values.yaml +++ b/helm/zinc/values.yaml @@ -3,7 +3,7 @@ # Declare variables to be passed into your templates. image: - repository: public.ecr.aws/prabhat/zinc + repository: public.ecr.aws/h9e2j3o7/zinc pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. tag: "latest" From 18bfbfa9058e4e48360d56517be8f4ba15fecdcf Mon Sep 17 00:00:00 2001 From: yanghengfei Date: Tue, 26 Apr 2022 19:37:07 +0800 Subject: [PATCH 02/10] doc: update go.mod --- cmd/zinc/main.go | 4 ++-- go.mod | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/cmd/zinc/main.go b/cmd/zinc/main.go index 4cad332b8..dc439fde6 100644 --- a/cmd/zinc/main.go +++ b/cmd/zinc/main.go @@ -51,7 +51,7 @@ func main() { ctx, cancel := context.WithTimeout(context.Background(), time.Second*60) defer cancel() if err := server.Shutdown(ctx); err != nil { - log.Fatal().Msgf("Server Shutdown:", err) + log.Fatal().Msgf("Server Shutdown: %s", err.Error()) } } else { server.Close() @@ -62,7 +62,7 @@ func main() { if err == http.ErrServerClosed { log.Info().Msgf("Server closed under request") } else { - log.Fatal().Msgf("Server closed unexpect") + log.Fatal().Msgf("Server closed unexpect: %s", err.Error()) } } diff --git a/go.mod b/go.mod index 2d822bfb5..75ec12595 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/zinclabs/zinc -go 1.18 +go 1.17 require ( github.com/aws/aws-sdk-go-v2/config v1.11.0 @@ -62,14 +62,12 @@ require ( github.com/go-playground/validator/v10 v10.4.1 // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/golang/snappy v0.0.3 // indirect - github.com/google/go-cmp v0.5.7 // indirect github.com/google/uuid v1.3.0 // indirect github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/jtolds/gls v4.20.0+incompatible // indirect github.com/klauspost/compress v1.13.5 // indirect github.com/klauspost/cpuid v1.3.1 // indirect - github.com/kr/pretty v0.3.0 // indirect github.com/leodido/go-urn v1.2.0 // indirect github.com/mattn/go-isatty v0.0.14 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect @@ -87,7 +85,6 @@ require ( github.com/segmentio/backo-go v1.0.0 // indirect github.com/sirupsen/logrus v1.8.1 // indirect github.com/smartystreets/assertions v1.2.0 // indirect - github.com/stretchr/testify v1.6.1 // indirect github.com/tklauser/go-sysconf v0.3.9 // indirect github.com/tklauser/numcpus v0.3.0 // indirect github.com/ugorji/go/codec v1.1.7 // indirect From 57de263989a848fcd8aca040107bb7b21c757497 Mon Sep 17 00:00:00 2001 From: yanghengfei Date: Tue, 26 Apr 2022 19:44:03 +0800 Subject: [PATCH 03/10] fix: Environment variables inconsistent #137 --- pkg/core/telemetry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/core/telemetry.go b/pkg/core/telemetry.go index 1a71ec5c8..e6856b064 100644 --- a/pkg/core/telemetry.go +++ b/pkg/core/telemetry.go @@ -99,7 +99,7 @@ func (t *telemetry) initBaseInfo() { } func (t *telemetry) Instance() { - if zutils.GetEnv("ZINC_TELEMETRY", "enabled") == "disabled" { + if zutils.GetEnv("ZINC_TELEMETRY", "true") == "false" { return } @@ -118,7 +118,7 @@ func (t *telemetry) Instance() { } func (t *telemetry) Event(event string, data map[string]interface{}) { - if zutils.GetEnv("ZINC_TELEMETRY", "enabled") == "disabled" { + if zutils.GetEnv("ZINC_TELEMETRY", "true") == "false" { return } From 195dbd4eca2724d33b56344064ba758b5df862fb Mon Sep 17 00:00:00 2001 From: yanghengfei Date: Fri, 29 Apr 2022 21:21:37 +0800 Subject: [PATCH 04/10] style: add copyright --- COPYRIGHT | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 COPYRIGHT diff --git a/COPYRIGHT b/COPYRIGHT new file mode 100644 index 000000000..a360bc017 --- /dev/null +++ b/COPYRIGHT @@ -0,0 +1,13 @@ +Copyright 2022 Zinc Labs Inc. and Contributors + +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. \ No newline at end of file From a277118a5a3a7af9606182b521d0abeb182fea7d Mon Sep 17 00:00:00 2001 From: yanghengfei Date: Fri, 29 Apr 2022 21:23:36 +0800 Subject: [PATCH 05/10] doc: add copyright --- cmd/zinc/main.go | 14 ++++++++++++++ embed.go | 14 ++++++++++++++ embed_test.go | 14 ++++++++++++++ pkg/auth/authmiddleware.go | 14 ++++++++++++++ pkg/auth/createuser.go | 14 ++++++++++++++ pkg/auth/deleteuser.go | 14 ++++++++++++++ pkg/auth/firststart.go | 14 ++++++++++++++ pkg/auth/getuser.go | 14 ++++++++++++++ pkg/auth/getusers.go | 14 ++++++++++++++ pkg/bluge/aggregation/aggregation.go | 14 ++++++++++++++ pkg/bluge/aggregation/auto_date_histogram.go | 14 ++++++++++++++ pkg/bluge/aggregation/date_histogram.go | 14 ++++++++++++++ pkg/bluge/aggregation/histogram.go | 14 ++++++++++++++ pkg/bluge/aggregation/terms.go | 14 ++++++++++++++ pkg/bluge/analysis/char/mapping.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/bn/stop_words_bn.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/br/stop_words_br.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/chs/analyzer/search.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/chs/analyzer/standard.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/chs/gse.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/chs/gse_dict.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/chs/gse_stop.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/chs/gse_test.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/chs/token/stop.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/chs/tokenizer/search.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/chs/tokenizer/standard.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/et/stop_words_et.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/lv/stop_words_lv.go | 14 ++++++++++++++ pkg/bluge/analysis/lang/th/stop_words_th.go | 14 ++++++++++++++ pkg/bluge/analysis/token/regexp.go | 14 ++++++++++++++ pkg/bluge/analysis/token/stop.go | 14 ++++++++++++++ pkg/bluge/analysis/token/stop_words.go | 14 ++++++++++++++ pkg/bluge/analysis/token/trim.go | 14 ++++++++++++++ pkg/bluge/analysis/token/upper_case.go | 14 ++++++++++++++ pkg/bluge/analysis/tokenizer/char_group.go | 14 ++++++++++++++ pkg/bluge/analysis/tokenizer/edge_ngram.go | 14 ++++++++++++++ pkg/bluge/analysis/tokenizer/lower_case.go | 14 ++++++++++++++ pkg/bluge/analysis/tokenizer/ngram.go | 14 ++++++++++++++ pkg/bluge/analysis/tokenizer/path_hierarchy.go | 14 ++++++++++++++ pkg/core/index.go | 14 ++++++++++++++ pkg/core/loadindexes.go | 14 ++++++++++++++ pkg/core/loadindexes_test.go | 14 ++++++++++++++ pkg/core/multi_search_v2.go | 14 ++++++++++++++ pkg/core/newindex.go | 14 ++++++++++++++ pkg/core/newindex_test.go | 14 ++++++++++++++ pkg/core/search.go | 14 ++++++++++++++ pkg/core/search_v2.go | 14 ++++++++++++++ pkg/core/telemetry.go | 14 ++++++++++++++ pkg/core/template.go | 14 ++++++++++++++ pkg/core/types.go | 14 ++++++++++++++ pkg/core/updatedocument.go | 14 ++++++++++++++ pkg/directory/minio.go | 14 ++++++++++++++ pkg/directory/s3.go | 14 ++++++++++++++ pkg/errors/error.go | 14 ++++++++++++++ pkg/handlers/bulk.go | 14 ++++++++++++++ pkg/handlers/createindex.go | 14 ++++++++++++++ pkg/handlers/createupdateuser.go | 14 ++++++++++++++ pkg/handlers/deletedocument.go | 14 ++++++++++++++ pkg/handlers/deleteindex.go | 14 ++++++++++++++ pkg/handlers/deleteuser.go | 14 ++++++++++++++ pkg/handlers/getusers.go | 14 ++++++++++++++ pkg/handlers/listindexes.go | 14 ++++++++++++++ pkg/handlers/search.go | 14 ++++++++++++++ pkg/handlers/updatedocument.go | 14 ++++++++++++++ pkg/handlers/v2/index_analyzer.go | 14 ++++++++++++++ pkg/handlers/v2/index_mapping.go | 14 ++++++++++++++ pkg/handlers/v2/index_settings.go | 14 ++++++++++++++ pkg/handlers/v2/index_template.go | 14 ++++++++++++++ pkg/handlers/v2/search.go | 14 ++++++++++++++ pkg/handlers/validatecredentials.go | 14 ++++++++++++++ pkg/ider/id.go | 14 ++++++++++++++ pkg/meta/v1/GUI.go | 14 ++++++++++++++ pkg/meta/v1/elasticsearch.go | 14 ++++++++++++++ pkg/meta/v1/healthz.go | 14 ++++++++++++++ pkg/meta/v1/telemetry.go | 14 ++++++++++++++ pkg/meta/v1/types.go | 14 ++++++++++++++ pkg/meta/v1/version.go | 14 ++++++++++++++ pkg/meta/v2/analyzer.go | 14 ++++++++++++++ pkg/meta/v2/index.go | 14 ++++++++++++++ pkg/meta/v2/mappings.go | 14 ++++++++++++++ pkg/meta/v2/query_dsl.go | 14 ++++++++++++++ pkg/meta/v2/query_response.go | 14 ++++++++++++++ pkg/meta/v2/template.go | 14 ++++++++++++++ pkg/routes/accesslog.go | 14 ++++++++++++++ pkg/routes/httpcache.go | 14 ++++++++++++++ pkg/routes/prometheus.go | 14 ++++++++++++++ pkg/routes/routes.go | 14 ++++++++++++++ pkg/startup/loadconfig.go | 14 ++++++++++++++ pkg/uquery/aggregation.go | 14 ++++++++++++++ pkg/uquery/alldocuments.go | 14 ++++++++++++++ pkg/uquery/daterange.go | 14 ++++++++++++++ pkg/uquery/fuzzy.go | 14 ++++++++++++++ pkg/uquery/match.go | 14 ++++++++++++++ pkg/uquery/matchall.go | 14 ++++++++++++++ pkg/uquery/matchphrase.go | 14 ++++++++++++++ pkg/uquery/multiphrase.go | 14 ++++++++++++++ pkg/uquery/prefix.go | 14 ++++++++++++++ pkg/uquery/querystring.go | 14 ++++++++++++++ pkg/uquery/request.go | 14 ++++++++++++++ pkg/uquery/source.go | 14 ++++++++++++++ pkg/uquery/term.go | 14 ++++++++++++++ pkg/uquery/v2/aggregation/aggregation.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/analyzer.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/analyzer/regexp.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/analyzer/standard.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/analyzer/stop.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/analyzer/whitespace.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/char/mapping.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/char/regexp.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/char_filter.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/dict.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/edge_ngram.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/elision.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/keyword.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/length.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/ngram.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/regexp.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/shingle.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/stop.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/trim.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/truncate.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/unicodenorm.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token/upper_case.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/token_filter.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/tokenizer.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/tokenizer/char_group.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/tokenizer/character.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/tokenizer/edge_ngram.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/tokenizer/exception.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/tokenizer/lower_case.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/tokenizer/ngram.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/tokenizer/path_hierarchy.go | 14 ++++++++++++++ pkg/uquery/v2/analysis/tokenizer/regexp.go | 14 ++++++++++++++ pkg/uquery/v2/fields/fields.go | 14 ++++++++++++++ pkg/uquery/v2/highlight/highlight.go | 14 ++++++++++++++ pkg/uquery/v2/index/index.go | 14 ++++++++++++++ pkg/uquery/v2/mappings/mappings.go | 14 ++++++++++++++ pkg/uquery/v2/query/bool.go | 14 ++++++++++++++ pkg/uquery/v2/query/boosting.go | 14 ++++++++++++++ pkg/uquery/v2/query/combined_fields.go | 14 ++++++++++++++ pkg/uquery/v2/query/exists.go | 14 ++++++++++++++ pkg/uquery/v2/query/fuzzy.go | 14 ++++++++++++++ pkg/uquery/v2/query/geo.go | 14 ++++++++++++++ pkg/uquery/v2/query/ids.go | 14 ++++++++++++++ pkg/uquery/v2/query/match.go | 14 ++++++++++++++ pkg/uquery/v2/query/match_all.go | 14 ++++++++++++++ pkg/uquery/v2/query/match_bool_prefix.go | 14 ++++++++++++++ pkg/uquery/v2/query/match_none.go | 14 ++++++++++++++ pkg/uquery/v2/query/match_phrase.go | 14 ++++++++++++++ pkg/uquery/v2/query/match_phrase_prefix.go | 14 ++++++++++++++ pkg/uquery/v2/query/multi_match.go | 14 ++++++++++++++ pkg/uquery/v2/query/prefix.go | 14 ++++++++++++++ pkg/uquery/v2/query/query.go | 14 ++++++++++++++ pkg/uquery/v2/query/query_string.go | 14 ++++++++++++++ pkg/uquery/v2/query/range.go | 14 ++++++++++++++ pkg/uquery/v2/query/regexp.go | 14 ++++++++++++++ pkg/uquery/v2/query/simple_query_string.go | 14 ++++++++++++++ pkg/uquery/v2/query/term.go | 14 ++++++++++++++ pkg/uquery/v2/query/terms.go | 14 ++++++++++++++ pkg/uquery/v2/query/terms_set.go | 14 ++++++++++++++ pkg/uquery/v2/query/wildcard.go | 14 ++++++++++++++ pkg/uquery/v2/query_dsl_parser.go | 14 ++++++++++++++ pkg/uquery/v2/query_response_format.go | 14 ++++++++++++++ pkg/uquery/v2/sort/sort.go | 14 ++++++++++++++ pkg/uquery/v2/source/source.go | 14 ++++++++++++++ pkg/uquery/v2/template/template.go | 14 ++++++++++++++ pkg/uquery/wildcard.go | 14 ++++++++++++++ pkg/zutils/base62/base62.go | 14 ++++++++++++++ pkg/zutils/base62/base62_test.go | 14 ++++++++++++++ pkg/zutils/env.go | 14 ++++++++++++++ pkg/zutils/file.go | 14 ++++++++++++++ pkg/zutils/flatten/flatten.go | 14 ++++++++++++++ pkg/zutils/flatten/flatten_test.go | 14 ++++++++++++++ pkg/zutils/map.go | 14 ++++++++++++++ pkg/zutils/strings.go | 14 ++++++++++++++ pkg/zutils/time.go | 14 ++++++++++++++ pkg/zutils/time_zone.go | 14 ++++++++++++++ test/analyze_test.go | 14 ++++++++++++++ test/api_test.go | 14 ++++++++++++++ test/auth_test.go | 14 ++++++++++++++ test/base_test.go | 14 ++++++++++++++ test/benchmark_test.go | 14 ++++++++++++++ test/es_test.go | 14 ++++++++++++++ test/init.go | 14 ++++++++++++++ 184 files changed, 2576 insertions(+) diff --git a/cmd/zinc/main.go b/cmd/zinc/main.go index dc439fde6..0f2424682 100644 --- a/cmd/zinc/main.go +++ b/cmd/zinc/main.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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/embed.go b/embed.go index 106445b0b..efde5baa6 100644 --- a/embed.go +++ b/embed.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 zinc import ( diff --git a/embed_test.go b/embed_test.go index ade8db94b..85810ec49 100644 --- a/embed_test.go +++ b/embed_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 zinc import ( diff --git a/pkg/auth/authmiddleware.go b/pkg/auth/authmiddleware.go index 7ac2b2f85..37ea86bba 100644 --- a/pkg/auth/authmiddleware.go +++ b/pkg/auth/authmiddleware.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 auth import ( diff --git a/pkg/auth/createuser.go b/pkg/auth/createuser.go index c700d3c41..b17be9e0f 100644 --- a/pkg/auth/createuser.go +++ b/pkg/auth/createuser.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 auth import ( diff --git a/pkg/auth/deleteuser.go b/pkg/auth/deleteuser.go index 9a4b81eca..ee9de85fa 100644 --- a/pkg/auth/deleteuser.go +++ b/pkg/auth/deleteuser.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 auth import ( diff --git a/pkg/auth/firststart.go b/pkg/auth/firststart.go index 3b7f79142..7f01349b3 100644 --- a/pkg/auth/firststart.go +++ b/pkg/auth/firststart.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 auth import ( diff --git a/pkg/auth/getuser.go b/pkg/auth/getuser.go index a221ecd65..d580d30c7 100644 --- a/pkg/auth/getuser.go +++ b/pkg/auth/getuser.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 auth import ( diff --git a/pkg/auth/getusers.go b/pkg/auth/getusers.go index 4c40b405c..bafdbe748 100644 --- a/pkg/auth/getusers.go +++ b/pkg/auth/getusers.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 auth import ( diff --git a/pkg/bluge/aggregation/aggregation.go b/pkg/bluge/aggregation/aggregation.go index 35351eda3..da127999a 100644 --- a/pkg/bluge/aggregation/aggregation.go +++ b/pkg/bluge/aggregation/aggregation.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 aggregation import "github.com/blugelabs/bluge/search" diff --git a/pkg/bluge/aggregation/auto_date_histogram.go b/pkg/bluge/aggregation/auto_date_histogram.go index f96eee787..d924d6e36 100644 --- a/pkg/bluge/aggregation/auto_date_histogram.go +++ b/pkg/bluge/aggregation/auto_date_histogram.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 aggregation import ( diff --git a/pkg/bluge/aggregation/date_histogram.go b/pkg/bluge/aggregation/date_histogram.go index e5b109cb0..82e8820e1 100644 --- a/pkg/bluge/aggregation/date_histogram.go +++ b/pkg/bluge/aggregation/date_histogram.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 aggregation import ( diff --git a/pkg/bluge/aggregation/histogram.go b/pkg/bluge/aggregation/histogram.go index 5a13f6279..6ac40036f 100644 --- a/pkg/bluge/aggregation/histogram.go +++ b/pkg/bluge/aggregation/histogram.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 aggregation import ( diff --git a/pkg/bluge/aggregation/terms.go b/pkg/bluge/aggregation/terms.go index 08580b008..5370b5d77 100644 --- a/pkg/bluge/aggregation/terms.go +++ b/pkg/bluge/aggregation/terms.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 aggregation import ( diff --git a/pkg/bluge/analysis/char/mapping.go b/pkg/bluge/analysis/char/mapping.go index 4845accda..a557e2819 100644 --- a/pkg/bluge/analysis/char/mapping.go +++ b/pkg/bluge/analysis/char/mapping.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 char import ( diff --git a/pkg/bluge/analysis/lang/bn/stop_words_bn.go b/pkg/bluge/analysis/lang/bn/stop_words_bn.go index 2d61ae74f..52bed4e8b 100644 --- a/pkg/bluge/analysis/lang/bn/stop_words_bn.go +++ b/pkg/bluge/analysis/lang/bn/stop_words_bn.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 bn import ( diff --git a/pkg/bluge/analysis/lang/br/stop_words_br.go b/pkg/bluge/analysis/lang/br/stop_words_br.go index dd72eaa54..fcc412e70 100644 --- a/pkg/bluge/analysis/lang/br/stop_words_br.go +++ b/pkg/bluge/analysis/lang/br/stop_words_br.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 br import ( diff --git a/pkg/bluge/analysis/lang/chs/analyzer/search.go b/pkg/bluge/analysis/lang/chs/analyzer/search.go index 26434e1c1..34246d252 100644 --- a/pkg/bluge/analysis/lang/chs/analyzer/search.go +++ b/pkg/bluge/analysis/lang/chs/analyzer/search.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 analyzer import ( diff --git a/pkg/bluge/analysis/lang/chs/analyzer/standard.go b/pkg/bluge/analysis/lang/chs/analyzer/standard.go index f2dcefe25..2e87d51c1 100644 --- a/pkg/bluge/analysis/lang/chs/analyzer/standard.go +++ b/pkg/bluge/analysis/lang/chs/analyzer/standard.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 analyzer import ( diff --git a/pkg/bluge/analysis/lang/chs/gse.go b/pkg/bluge/analysis/lang/chs/gse.go index 835567aec..94b4f0766 100644 --- a/pkg/bluge/analysis/lang/chs/gse.go +++ b/pkg/bluge/analysis/lang/chs/gse.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 chs import ( diff --git a/pkg/bluge/analysis/lang/chs/gse_dict.go b/pkg/bluge/analysis/lang/chs/gse_dict.go index 4254fe772..25c6bc429 100644 --- a/pkg/bluge/analysis/lang/chs/gse_dict.go +++ b/pkg/bluge/analysis/lang/chs/gse_dict.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 chs var _dictCHS = `的 3188252 uj diff --git a/pkg/bluge/analysis/lang/chs/gse_stop.go b/pkg/bluge/analysis/lang/chs/gse_stop.go index 3a394e07b..0e9eeeeda 100644 --- a/pkg/bluge/analysis/lang/chs/gse_stop.go +++ b/pkg/bluge/analysis/lang/chs/gse_stop.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 chs var _dictStop = `, diff --git a/pkg/bluge/analysis/lang/chs/gse_test.go b/pkg/bluge/analysis/lang/chs/gse_test.go index 396ce776f..074816749 100644 --- a/pkg/bluge/analysis/lang/chs/gse_test.go +++ b/pkg/bluge/analysis/lang/chs/gse_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 chs import ( diff --git a/pkg/bluge/analysis/lang/chs/token/stop.go b/pkg/bluge/analysis/lang/chs/token/stop.go index 2338424c3..2497d6857 100644 --- a/pkg/bluge/analysis/lang/chs/token/stop.go +++ b/pkg/bluge/analysis/lang/chs/token/stop.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/bluge/analysis/lang/chs/tokenizer/search.go b/pkg/bluge/analysis/lang/chs/tokenizer/search.go index 84ae6292b..3d2f48d0a 100644 --- a/pkg/bluge/analysis/lang/chs/tokenizer/search.go +++ b/pkg/bluge/analysis/lang/chs/tokenizer/search.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/bluge/analysis/lang/chs/tokenizer/standard.go b/pkg/bluge/analysis/lang/chs/tokenizer/standard.go index 0de94ed5a..b164fe17e 100644 --- a/pkg/bluge/analysis/lang/chs/tokenizer/standard.go +++ b/pkg/bluge/analysis/lang/chs/tokenizer/standard.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/bluge/analysis/lang/et/stop_words_et.go b/pkg/bluge/analysis/lang/et/stop_words_et.go index c0628645c..71569bfe5 100644 --- a/pkg/bluge/analysis/lang/et/stop_words_et.go +++ b/pkg/bluge/analysis/lang/et/stop_words_et.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 et import ( diff --git a/pkg/bluge/analysis/lang/lv/stop_words_lv.go b/pkg/bluge/analysis/lang/lv/stop_words_lv.go index abfec5f30..226ba0b45 100644 --- a/pkg/bluge/analysis/lang/lv/stop_words_lv.go +++ b/pkg/bluge/analysis/lang/lv/stop_words_lv.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 lv import ( diff --git a/pkg/bluge/analysis/lang/th/stop_words_th.go b/pkg/bluge/analysis/lang/th/stop_words_th.go index cc6f71643..afb2b50e6 100644 --- a/pkg/bluge/analysis/lang/th/stop_words_th.go +++ b/pkg/bluge/analysis/lang/th/stop_words_th.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 th import ( diff --git a/pkg/bluge/analysis/token/regexp.go b/pkg/bluge/analysis/token/regexp.go index f3b6b2cd3..93de05709 100644 --- a/pkg/bluge/analysis/token/regexp.go +++ b/pkg/bluge/analysis/token/regexp.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/bluge/analysis/token/stop.go b/pkg/bluge/analysis/token/stop.go index fc4328034..256a1558e 100644 --- a/pkg/bluge/analysis/token/stop.go +++ b/pkg/bluge/analysis/token/stop.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/bluge/analysis/token/stop_words.go b/pkg/bluge/analysis/token/stop_words.go index 706180d01..1cc791e0d 100644 --- a/pkg/bluge/analysis/token/stop_words.go +++ b/pkg/bluge/analysis/token/stop_words.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/bluge/analysis/token/trim.go b/pkg/bluge/analysis/token/trim.go index 52564cf0b..0fb704250 100644 --- a/pkg/bluge/analysis/token/trim.go +++ b/pkg/bluge/analysis/token/trim.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/bluge/analysis/token/upper_case.go b/pkg/bluge/analysis/token/upper_case.go index ec84073dd..6404bd953 100644 --- a/pkg/bluge/analysis/token/upper_case.go +++ b/pkg/bluge/analysis/token/upper_case.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/bluge/analysis/tokenizer/char_group.go b/pkg/bluge/analysis/tokenizer/char_group.go index 315af594b..53aa476b6 100644 --- a/pkg/bluge/analysis/tokenizer/char_group.go +++ b/pkg/bluge/analysis/tokenizer/char_group.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/bluge/analysis/tokenizer/edge_ngram.go b/pkg/bluge/analysis/tokenizer/edge_ngram.go index a44e9102f..f63d9006c 100644 --- a/pkg/bluge/analysis/tokenizer/edge_ngram.go +++ b/pkg/bluge/analysis/tokenizer/edge_ngram.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/bluge/analysis/tokenizer/lower_case.go b/pkg/bluge/analysis/tokenizer/lower_case.go index 6cbca3ad8..07036b836 100644 --- a/pkg/bluge/analysis/tokenizer/lower_case.go +++ b/pkg/bluge/analysis/tokenizer/lower_case.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/bluge/analysis/tokenizer/ngram.go b/pkg/bluge/analysis/tokenizer/ngram.go index fa009dc9c..38935826b 100644 --- a/pkg/bluge/analysis/tokenizer/ngram.go +++ b/pkg/bluge/analysis/tokenizer/ngram.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/bluge/analysis/tokenizer/path_hierarchy.go b/pkg/bluge/analysis/tokenizer/path_hierarchy.go index 7ec84ee26..5394d96c1 100644 --- a/pkg/bluge/analysis/tokenizer/path_hierarchy.go +++ b/pkg/bluge/analysis/tokenizer/path_hierarchy.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/core/index.go b/pkg/core/index.go index c40ec5f18..7e6af002a 100644 --- a/pkg/core/index.go +++ b/pkg/core/index.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core import ( diff --git a/pkg/core/loadindexes.go b/pkg/core/loadindexes.go index c5837ac49..0639b24cc 100644 --- a/pkg/core/loadindexes.go +++ b/pkg/core/loadindexes.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core import ( diff --git a/pkg/core/loadindexes_test.go b/pkg/core/loadindexes_test.go index cc026e851..f7ddd3599 100644 --- a/pkg/core/loadindexes_test.go +++ b/pkg/core/loadindexes_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core import ( diff --git a/pkg/core/multi_search_v2.go b/pkg/core/multi_search_v2.go index 4c149283a..5ed8732e2 100644 --- a/pkg/core/multi_search_v2.go +++ b/pkg/core/multi_search_v2.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core import ( diff --git a/pkg/core/newindex.go b/pkg/core/newindex.go index b5cecc60b..16ed2b49b 100644 --- a/pkg/core/newindex.go +++ b/pkg/core/newindex.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core import ( diff --git a/pkg/core/newindex_test.go b/pkg/core/newindex_test.go index 51c83417c..4babaa185 100644 --- a/pkg/core/newindex_test.go +++ b/pkg/core/newindex_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core import ( diff --git a/pkg/core/search.go b/pkg/core/search.go index e38184e0e..cb4b7a722 100644 --- a/pkg/core/search.go +++ b/pkg/core/search.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core import ( diff --git a/pkg/core/search_v2.go b/pkg/core/search_v2.go index e05452c03..81dbe8ad9 100644 --- a/pkg/core/search_v2.go +++ b/pkg/core/search_v2.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core import ( diff --git a/pkg/core/telemetry.go b/pkg/core/telemetry.go index e6856b064..32605676e 100644 --- a/pkg/core/telemetry.go +++ b/pkg/core/telemetry.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core import ( diff --git a/pkg/core/template.go b/pkg/core/template.go index 196db5238..a869dd60f 100644 --- a/pkg/core/template.go +++ b/pkg/core/template.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core import ( diff --git a/pkg/core/types.go b/pkg/core/types.go index 753dc8c8c..54c7ea638 100644 --- a/pkg/core/types.go +++ b/pkg/core/types.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core import ( diff --git a/pkg/core/updatedocument.go b/pkg/core/updatedocument.go index abac56c5e..202e75834 100644 --- a/pkg/core/updatedocument.go +++ b/pkg/core/updatedocument.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 core // UpdateDocument inserts or updates a document in the zinc index diff --git a/pkg/directory/minio.go b/pkg/directory/minio.go index 86793b726..17bf88106 100644 --- a/pkg/directory/minio.go +++ b/pkg/directory/minio.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 directory import ( diff --git a/pkg/directory/s3.go b/pkg/directory/s3.go index 0388a29b9..d310e5994 100644 --- a/pkg/directory/s3.go +++ b/pkg/directory/s3.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 directory import ( diff --git a/pkg/errors/error.go b/pkg/errors/error.go index 19f2c2b99..91af6f8c1 100644 --- a/pkg/errors/error.go +++ b/pkg/errors/error.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 errors import "fmt" diff --git a/pkg/handlers/bulk.go b/pkg/handlers/bulk.go index 90f00acae..c468c16a5 100644 --- a/pkg/handlers/bulk.go +++ b/pkg/handlers/bulk.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 handlers import ( diff --git a/pkg/handlers/createindex.go b/pkg/handlers/createindex.go index d3cd47aa8..721f92f0f 100644 --- a/pkg/handlers/createindex.go +++ b/pkg/handlers/createindex.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 handlers import ( diff --git a/pkg/handlers/createupdateuser.go b/pkg/handlers/createupdateuser.go index a351df209..b263107ba 100644 --- a/pkg/handlers/createupdateuser.go +++ b/pkg/handlers/createupdateuser.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 handlers import ( diff --git a/pkg/handlers/deletedocument.go b/pkg/handlers/deletedocument.go index 2c28f2644..f1a2dc2c1 100644 --- a/pkg/handlers/deletedocument.go +++ b/pkg/handlers/deletedocument.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 handlers import ( diff --git a/pkg/handlers/deleteindex.go b/pkg/handlers/deleteindex.go index fc2014ab7..42608b882 100644 --- a/pkg/handlers/deleteindex.go +++ b/pkg/handlers/deleteindex.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 handlers import ( diff --git a/pkg/handlers/deleteuser.go b/pkg/handlers/deleteuser.go index 60cfdd002..cb8cb8547 100644 --- a/pkg/handlers/deleteuser.go +++ b/pkg/handlers/deleteuser.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 handlers import ( diff --git a/pkg/handlers/getusers.go b/pkg/handlers/getusers.go index c986fc688..0444f8196 100644 --- a/pkg/handlers/getusers.go +++ b/pkg/handlers/getusers.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 handlers import ( diff --git a/pkg/handlers/listindexes.go b/pkg/handlers/listindexes.go index a5a633045..f77415b3f 100644 --- a/pkg/handlers/listindexes.go +++ b/pkg/handlers/listindexes.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 handlers import ( diff --git a/pkg/handlers/search.go b/pkg/handlers/search.go index 9d7e37781..949dc4059 100644 --- a/pkg/handlers/search.go +++ b/pkg/handlers/search.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 handlers import ( diff --git a/pkg/handlers/updatedocument.go b/pkg/handlers/updatedocument.go index cecb3cd19..7e54ce26b 100644 --- a/pkg/handlers/updatedocument.go +++ b/pkg/handlers/updatedocument.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 handlers import ( diff --git a/pkg/handlers/v2/index_analyzer.go b/pkg/handlers/v2/index_analyzer.go index 39934bee9..e44458ce7 100644 --- a/pkg/handlers/v2/index_analyzer.go +++ b/pkg/handlers/v2/index_analyzer.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v2 import ( diff --git a/pkg/handlers/v2/index_mapping.go b/pkg/handlers/v2/index_mapping.go index 196c10a84..d019923d3 100644 --- a/pkg/handlers/v2/index_mapping.go +++ b/pkg/handlers/v2/index_mapping.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v2 import ( diff --git a/pkg/handlers/v2/index_settings.go b/pkg/handlers/v2/index_settings.go index 507da3563..b29d60945 100644 --- a/pkg/handlers/v2/index_settings.go +++ b/pkg/handlers/v2/index_settings.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v2 import ( diff --git a/pkg/handlers/v2/index_template.go b/pkg/handlers/v2/index_template.go index e99f79904..b813b2df1 100644 --- a/pkg/handlers/v2/index_template.go +++ b/pkg/handlers/v2/index_template.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v2 import ( diff --git a/pkg/handlers/v2/search.go b/pkg/handlers/v2/search.go index f7b62e3da..4f43d0af7 100644 --- a/pkg/handlers/v2/search.go +++ b/pkg/handlers/v2/search.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v2 import ( diff --git a/pkg/handlers/validatecredentials.go b/pkg/handlers/validatecredentials.go index e5149d120..39fac8f0a 100644 --- a/pkg/handlers/validatecredentials.go +++ b/pkg/handlers/validatecredentials.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 handlers import ( diff --git a/pkg/ider/id.go b/pkg/ider/id.go index c0d966593..505303815 100644 --- a/pkg/ider/id.go +++ b/pkg/ider/id.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 ider import ( diff --git a/pkg/meta/v1/GUI.go b/pkg/meta/v1/GUI.go index c1f0dec32..0e4107fbe 100644 --- a/pkg/meta/v1/GUI.go +++ b/pkg/meta/v1/GUI.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v1 import ( diff --git a/pkg/meta/v1/elasticsearch.go b/pkg/meta/v1/elasticsearch.go index c334357cb..b9ee3a736 100644 --- a/pkg/meta/v1/elasticsearch.go +++ b/pkg/meta/v1/elasticsearch.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v1 import ( diff --git a/pkg/meta/v1/healthz.go b/pkg/meta/v1/healthz.go index 88e46fa0b..cfc6adfb8 100644 --- a/pkg/meta/v1/healthz.go +++ b/pkg/meta/v1/healthz.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v1 import ( diff --git a/pkg/meta/v1/telemetry.go b/pkg/meta/v1/telemetry.go index 56588a30d..82e1da767 100644 --- a/pkg/meta/v1/telemetry.go +++ b/pkg/meta/v1/telemetry.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v1 import ( diff --git a/pkg/meta/v1/types.go b/pkg/meta/v1/types.go index c7ca5b640..ac1c4173a 100644 --- a/pkg/meta/v1/types.go +++ b/pkg/meta/v1/types.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v1 import ( diff --git a/pkg/meta/v1/version.go b/pkg/meta/v1/version.go index 46d0891e2..35abb4f64 100644 --- a/pkg/meta/v1/version.go +++ b/pkg/meta/v1/version.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v1 import ( diff --git a/pkg/meta/v2/analyzer.go b/pkg/meta/v2/analyzer.go index 86561e9d4..a5f53e027 100644 --- a/pkg/meta/v2/analyzer.go +++ b/pkg/meta/v2/analyzer.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v2 type Analyzer struct { diff --git a/pkg/meta/v2/index.go b/pkg/meta/v2/index.go index 7503ed899..02d3d231c 100644 --- a/pkg/meta/v2/index.go +++ b/pkg/meta/v2/index.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v2 type Index struct { diff --git a/pkg/meta/v2/mappings.go b/pkg/meta/v2/mappings.go index abb9cb67c..c20ec3c3a 100644 --- a/pkg/meta/v2/mappings.go +++ b/pkg/meta/v2/mappings.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v2 type Mappings struct { diff --git a/pkg/meta/v2/query_dsl.go b/pkg/meta/v2/query_dsl.go index 09ae120d5..ecfcf31c8 100644 --- a/pkg/meta/v2/query_dsl.go +++ b/pkg/meta/v2/query_dsl.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v2 // ZincQuery is the query object for the zinc index. compatible ES Query DSL diff --git a/pkg/meta/v2/query_response.go b/pkg/meta/v2/query_response.go index a6a1f33e2..c44aec0d4 100644 --- a/pkg/meta/v2/query_response.go +++ b/pkg/meta/v2/query_response.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v2 import "time" diff --git a/pkg/meta/v2/template.go b/pkg/meta/v2/template.go index 85589d7fb..0a52d832b 100644 --- a/pkg/meta/v2/template.go +++ b/pkg/meta/v2/template.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 v2 type Template struct { diff --git a/pkg/routes/accesslog.go b/pkg/routes/accesslog.go index 050651cda..8216fcb3b 100644 --- a/pkg/routes/accesslog.go +++ b/pkg/routes/accesslog.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 routes import ( diff --git a/pkg/routes/httpcache.go b/pkg/routes/httpcache.go index 999c6bae6..1c282c04d 100644 --- a/pkg/routes/httpcache.go +++ b/pkg/routes/httpcache.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 routes import ( diff --git a/pkg/routes/prometheus.go b/pkg/routes/prometheus.go index 642a50a02..d83f38944 100644 --- a/pkg/routes/prometheus.go +++ b/pkg/routes/prometheus.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 routes import ( diff --git a/pkg/routes/routes.go b/pkg/routes/routes.go index ae7568a53..3ff13cdc1 100644 --- a/pkg/routes/routes.go +++ b/pkg/routes/routes.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 routes import ( diff --git a/pkg/startup/loadconfig.go b/pkg/startup/loadconfig.go index e266f39c8..b965bea18 100644 --- a/pkg/startup/loadconfig.go +++ b/pkg/startup/loadconfig.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 startup import ( diff --git a/pkg/uquery/aggregation.go b/pkg/uquery/aggregation.go index b6e9f512f..f538d284d 100644 --- a/pkg/uquery/aggregation.go +++ b/pkg/uquery/aggregation.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/alldocuments.go b/pkg/uquery/alldocuments.go index 5a3dd77af..6f21e3869 100644 --- a/pkg/uquery/alldocuments.go +++ b/pkg/uquery/alldocuments.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/daterange.go b/pkg/uquery/daterange.go index cd5df6a4c..a6b23b031 100644 --- a/pkg/uquery/daterange.go +++ b/pkg/uquery/daterange.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/fuzzy.go b/pkg/uquery/fuzzy.go index 76940c39a..37b636b46 100644 --- a/pkg/uquery/fuzzy.go +++ b/pkg/uquery/fuzzy.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/match.go b/pkg/uquery/match.go index 40e35b47c..d059c8da6 100644 --- a/pkg/uquery/match.go +++ b/pkg/uquery/match.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/matchall.go b/pkg/uquery/matchall.go index a1b3c7451..a4613f2ef 100644 --- a/pkg/uquery/matchall.go +++ b/pkg/uquery/matchall.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/matchphrase.go b/pkg/uquery/matchphrase.go index c8c1c9abe..121ad8b2e 100644 --- a/pkg/uquery/matchphrase.go +++ b/pkg/uquery/matchphrase.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/multiphrase.go b/pkg/uquery/multiphrase.go index c2c3ccb38..a71b84d29 100644 --- a/pkg/uquery/multiphrase.go +++ b/pkg/uquery/multiphrase.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/prefix.go b/pkg/uquery/prefix.go index 62cabcf1d..0c3e340d9 100644 --- a/pkg/uquery/prefix.go +++ b/pkg/uquery/prefix.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/querystring.go b/pkg/uquery/querystring.go index 2933793c4..6eae98ba3 100644 --- a/pkg/uquery/querystring.go +++ b/pkg/uquery/querystring.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/request.go b/pkg/uquery/request.go index 0eac25634..c51b1bead 100644 --- a/pkg/uquery/request.go +++ b/pkg/uquery/request.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/source.go b/pkg/uquery/source.go index 3c2c685f0..ebccbb33f 100644 --- a/pkg/uquery/source.go +++ b/pkg/uquery/source.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/term.go b/pkg/uquery/term.go index de8b7d090..4dd128ccc 100644 --- a/pkg/uquery/term.go +++ b/pkg/uquery/term.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/uquery/v2/aggregation/aggregation.go b/pkg/uquery/v2/aggregation/aggregation.go index cf36401e7..830d59ad6 100644 --- a/pkg/uquery/v2/aggregation/aggregation.go +++ b/pkg/uquery/v2/aggregation/aggregation.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 aggregation import ( diff --git a/pkg/uquery/v2/analysis/analyzer.go b/pkg/uquery/v2/analysis/analyzer.go index fecf18c66..47f7d1d53 100644 --- a/pkg/uquery/v2/analysis/analyzer.go +++ b/pkg/uquery/v2/analysis/analyzer.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 analysis import ( diff --git a/pkg/uquery/v2/analysis/analyzer/regexp.go b/pkg/uquery/v2/analysis/analyzer/regexp.go index f616cd288..48625b5cc 100644 --- a/pkg/uquery/v2/analysis/analyzer/regexp.go +++ b/pkg/uquery/v2/analysis/analyzer/regexp.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 analyzer import ( diff --git a/pkg/uquery/v2/analysis/analyzer/standard.go b/pkg/uquery/v2/analysis/analyzer/standard.go index a01ccbdbd..c6c2dc38b 100644 --- a/pkg/uquery/v2/analysis/analyzer/standard.go +++ b/pkg/uquery/v2/analysis/analyzer/standard.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 analyzer import ( diff --git a/pkg/uquery/v2/analysis/analyzer/stop.go b/pkg/uquery/v2/analysis/analyzer/stop.go index 5c9fb9ebc..03c5d10e7 100644 --- a/pkg/uquery/v2/analysis/analyzer/stop.go +++ b/pkg/uquery/v2/analysis/analyzer/stop.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 analyzer import ( diff --git a/pkg/uquery/v2/analysis/analyzer/whitespace.go b/pkg/uquery/v2/analysis/analyzer/whitespace.go index 726a69286..5e197abae 100644 --- a/pkg/uquery/v2/analysis/analyzer/whitespace.go +++ b/pkg/uquery/v2/analysis/analyzer/whitespace.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 analyzer import ( diff --git a/pkg/uquery/v2/analysis/char/mapping.go b/pkg/uquery/v2/analysis/char/mapping.go index fb0ed7764..5abb6b40b 100644 --- a/pkg/uquery/v2/analysis/char/mapping.go +++ b/pkg/uquery/v2/analysis/char/mapping.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 char import ( diff --git a/pkg/uquery/v2/analysis/char/regexp.go b/pkg/uquery/v2/analysis/char/regexp.go index aa8178b9e..138ec0351 100644 --- a/pkg/uquery/v2/analysis/char/regexp.go +++ b/pkg/uquery/v2/analysis/char/regexp.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 char import ( diff --git a/pkg/uquery/v2/analysis/char_filter.go b/pkg/uquery/v2/analysis/char_filter.go index 6f6d9d78a..3abf3b875 100644 --- a/pkg/uquery/v2/analysis/char_filter.go +++ b/pkg/uquery/v2/analysis/char_filter.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 analysis import ( diff --git a/pkg/uquery/v2/analysis/token/dict.go b/pkg/uquery/v2/analysis/token/dict.go index 9aa81059c..f60156994 100644 --- a/pkg/uquery/v2/analysis/token/dict.go +++ b/pkg/uquery/v2/analysis/token/dict.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/edge_ngram.go b/pkg/uquery/v2/analysis/token/edge_ngram.go index e7b8d0ee4..1a32b261e 100644 --- a/pkg/uquery/v2/analysis/token/edge_ngram.go +++ b/pkg/uquery/v2/analysis/token/edge_ngram.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/elision.go b/pkg/uquery/v2/analysis/token/elision.go index d8fab6b4e..233f1f39c 100644 --- a/pkg/uquery/v2/analysis/token/elision.go +++ b/pkg/uquery/v2/analysis/token/elision.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/keyword.go b/pkg/uquery/v2/analysis/token/keyword.go index 2b17175d4..36ca9f976 100644 --- a/pkg/uquery/v2/analysis/token/keyword.go +++ b/pkg/uquery/v2/analysis/token/keyword.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/length.go b/pkg/uquery/v2/analysis/token/length.go index 21766889a..7b27fc358 100644 --- a/pkg/uquery/v2/analysis/token/length.go +++ b/pkg/uquery/v2/analysis/token/length.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/ngram.go b/pkg/uquery/v2/analysis/token/ngram.go index 252db003f..51ec635e7 100644 --- a/pkg/uquery/v2/analysis/token/ngram.go +++ b/pkg/uquery/v2/analysis/token/ngram.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/regexp.go b/pkg/uquery/v2/analysis/token/regexp.go index 665c64e08..97ef77dc7 100644 --- a/pkg/uquery/v2/analysis/token/regexp.go +++ b/pkg/uquery/v2/analysis/token/regexp.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/shingle.go b/pkg/uquery/v2/analysis/token/shingle.go index 1d7c9edc7..e9b5b089f 100644 --- a/pkg/uquery/v2/analysis/token/shingle.go +++ b/pkg/uquery/v2/analysis/token/shingle.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/stop.go b/pkg/uquery/v2/analysis/token/stop.go index b58b1253f..ac0b9b41a 100644 --- a/pkg/uquery/v2/analysis/token/stop.go +++ b/pkg/uquery/v2/analysis/token/stop.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/trim.go b/pkg/uquery/v2/analysis/token/trim.go index efe4323c4..90997353f 100644 --- a/pkg/uquery/v2/analysis/token/trim.go +++ b/pkg/uquery/v2/analysis/token/trim.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/truncate.go b/pkg/uquery/v2/analysis/token/truncate.go index 612c82312..3563ffe21 100644 --- a/pkg/uquery/v2/analysis/token/truncate.go +++ b/pkg/uquery/v2/analysis/token/truncate.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/unicodenorm.go b/pkg/uquery/v2/analysis/token/unicodenorm.go index a0a577d1b..2d7fdd579 100644 --- a/pkg/uquery/v2/analysis/token/unicodenorm.go +++ b/pkg/uquery/v2/analysis/token/unicodenorm.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token/upper_case.go b/pkg/uquery/v2/analysis/token/upper_case.go index 49c16d4fb..c49146afd 100644 --- a/pkg/uquery/v2/analysis/token/upper_case.go +++ b/pkg/uquery/v2/analysis/token/upper_case.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 token import ( diff --git a/pkg/uquery/v2/analysis/token_filter.go b/pkg/uquery/v2/analysis/token_filter.go index 677d28d4e..a93485760 100644 --- a/pkg/uquery/v2/analysis/token_filter.go +++ b/pkg/uquery/v2/analysis/token_filter.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 analysis import ( diff --git a/pkg/uquery/v2/analysis/tokenizer.go b/pkg/uquery/v2/analysis/tokenizer.go index baff1c971..791548018 100644 --- a/pkg/uquery/v2/analysis/tokenizer.go +++ b/pkg/uquery/v2/analysis/tokenizer.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 analysis import ( diff --git a/pkg/uquery/v2/analysis/tokenizer/char_group.go b/pkg/uquery/v2/analysis/tokenizer/char_group.go index 2a90790d8..3cea84d0e 100644 --- a/pkg/uquery/v2/analysis/tokenizer/char_group.go +++ b/pkg/uquery/v2/analysis/tokenizer/char_group.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/uquery/v2/analysis/tokenizer/character.go b/pkg/uquery/v2/analysis/tokenizer/character.go index fcf90cd7c..712adbfc6 100644 --- a/pkg/uquery/v2/analysis/tokenizer/character.go +++ b/pkg/uquery/v2/analysis/tokenizer/character.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/uquery/v2/analysis/tokenizer/edge_ngram.go b/pkg/uquery/v2/analysis/tokenizer/edge_ngram.go index 461422a6a..129f61156 100644 --- a/pkg/uquery/v2/analysis/tokenizer/edge_ngram.go +++ b/pkg/uquery/v2/analysis/tokenizer/edge_ngram.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/uquery/v2/analysis/tokenizer/exception.go b/pkg/uquery/v2/analysis/tokenizer/exception.go index 582b20bec..852d7155b 100644 --- a/pkg/uquery/v2/analysis/tokenizer/exception.go +++ b/pkg/uquery/v2/analysis/tokenizer/exception.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/uquery/v2/analysis/tokenizer/lower_case.go b/pkg/uquery/v2/analysis/tokenizer/lower_case.go index 572c60fae..1bae89784 100644 --- a/pkg/uquery/v2/analysis/tokenizer/lower_case.go +++ b/pkg/uquery/v2/analysis/tokenizer/lower_case.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/uquery/v2/analysis/tokenizer/ngram.go b/pkg/uquery/v2/analysis/tokenizer/ngram.go index 26f87a5ed..6034e9cf6 100644 --- a/pkg/uquery/v2/analysis/tokenizer/ngram.go +++ b/pkg/uquery/v2/analysis/tokenizer/ngram.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/uquery/v2/analysis/tokenizer/path_hierarchy.go b/pkg/uquery/v2/analysis/tokenizer/path_hierarchy.go index a6e5c7d82..ff0585aa8 100644 --- a/pkg/uquery/v2/analysis/tokenizer/path_hierarchy.go +++ b/pkg/uquery/v2/analysis/tokenizer/path_hierarchy.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/uquery/v2/analysis/tokenizer/regexp.go b/pkg/uquery/v2/analysis/tokenizer/regexp.go index f955a2c80..c1c392b39 100644 --- a/pkg/uquery/v2/analysis/tokenizer/regexp.go +++ b/pkg/uquery/v2/analysis/tokenizer/regexp.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 tokenizer import ( diff --git a/pkg/uquery/v2/fields/fields.go b/pkg/uquery/v2/fields/fields.go index 23b50e2d8..6e6eb0491 100644 --- a/pkg/uquery/v2/fields/fields.go +++ b/pkg/uquery/v2/fields/fields.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 fields import ( diff --git a/pkg/uquery/v2/highlight/highlight.go b/pkg/uquery/v2/highlight/highlight.go index 84455b954..17cde4407 100644 --- a/pkg/uquery/v2/highlight/highlight.go +++ b/pkg/uquery/v2/highlight/highlight.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 highlight import ( diff --git a/pkg/uquery/v2/index/index.go b/pkg/uquery/v2/index/index.go index 59f9613b7..8cd442747 100644 --- a/pkg/uquery/v2/index/index.go +++ b/pkg/uquery/v2/index/index.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 index import ( diff --git a/pkg/uquery/v2/mappings/mappings.go b/pkg/uquery/v2/mappings/mappings.go index b3403d0e6..c1936252f 100644 --- a/pkg/uquery/v2/mappings/mappings.go +++ b/pkg/uquery/v2/mappings/mappings.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 mappings import ( diff --git a/pkg/uquery/v2/query/bool.go b/pkg/uquery/v2/query/bool.go index 57e7bfec9..3910b697c 100644 --- a/pkg/uquery/v2/query/bool.go +++ b/pkg/uquery/v2/query/bool.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/boosting.go b/pkg/uquery/v2/query/boosting.go index c9c4a533b..46df168aa 100644 --- a/pkg/uquery/v2/query/boosting.go +++ b/pkg/uquery/v2/query/boosting.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/combined_fields.go b/pkg/uquery/v2/query/combined_fields.go index dcfd83557..b2b020e4f 100644 --- a/pkg/uquery/v2/query/combined_fields.go +++ b/pkg/uquery/v2/query/combined_fields.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/exists.go b/pkg/uquery/v2/query/exists.go index af084ab70..fc4cdd6d3 100644 --- a/pkg/uquery/v2/query/exists.go +++ b/pkg/uquery/v2/query/exists.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/fuzzy.go b/pkg/uquery/v2/query/fuzzy.go index 9339225ab..1caa65f78 100644 --- a/pkg/uquery/v2/query/fuzzy.go +++ b/pkg/uquery/v2/query/fuzzy.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/geo.go b/pkg/uquery/v2/query/geo.go index 60b18992d..cec350d6c 100644 --- a/pkg/uquery/v2/query/geo.go +++ b/pkg/uquery/v2/query/geo.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/ids.go b/pkg/uquery/v2/query/ids.go index c648b2b95..3d89c3d5b 100644 --- a/pkg/uquery/v2/query/ids.go +++ b/pkg/uquery/v2/query/ids.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/match.go b/pkg/uquery/v2/query/match.go index 2f7058cb1..60881df44 100644 --- a/pkg/uquery/v2/query/match.go +++ b/pkg/uquery/v2/query/match.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/match_all.go b/pkg/uquery/v2/query/match_all.go index ce93fc42a..fb904b0d2 100644 --- a/pkg/uquery/v2/query/match_all.go +++ b/pkg/uquery/v2/query/match_all.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import "github.com/blugelabs/bluge" diff --git a/pkg/uquery/v2/query/match_bool_prefix.go b/pkg/uquery/v2/query/match_bool_prefix.go index 76bc89ac1..b47b15e3f 100644 --- a/pkg/uquery/v2/query/match_bool_prefix.go +++ b/pkg/uquery/v2/query/match_bool_prefix.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/match_none.go b/pkg/uquery/v2/query/match_none.go index be4bb6603..a99177a96 100644 --- a/pkg/uquery/v2/query/match_none.go +++ b/pkg/uquery/v2/query/match_none.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import "github.com/blugelabs/bluge" diff --git a/pkg/uquery/v2/query/match_phrase.go b/pkg/uquery/v2/query/match_phrase.go index 4bc23121b..92c2e84ce 100644 --- a/pkg/uquery/v2/query/match_phrase.go +++ b/pkg/uquery/v2/query/match_phrase.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/match_phrase_prefix.go b/pkg/uquery/v2/query/match_phrase_prefix.go index 8569c7275..89f648be7 100644 --- a/pkg/uquery/v2/query/match_phrase_prefix.go +++ b/pkg/uquery/v2/query/match_phrase_prefix.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/multi_match.go b/pkg/uquery/v2/query/multi_match.go index 882ca5797..9c873c2fb 100644 --- a/pkg/uquery/v2/query/multi_match.go +++ b/pkg/uquery/v2/query/multi_match.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/prefix.go b/pkg/uquery/v2/query/prefix.go index ebdfde98a..8a9d7ab3d 100644 --- a/pkg/uquery/v2/query/prefix.go +++ b/pkg/uquery/v2/query/prefix.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/query.go b/pkg/uquery/v2/query/query.go index fe5d8b915..7d0611d02 100644 --- a/pkg/uquery/v2/query/query.go +++ b/pkg/uquery/v2/query/query.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/query_string.go b/pkg/uquery/v2/query/query_string.go index dc7bf9776..ab03ceaf9 100644 --- a/pkg/uquery/v2/query/query_string.go +++ b/pkg/uquery/v2/query/query_string.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/range.go b/pkg/uquery/v2/query/range.go index 6227aab3a..4decf7362 100644 --- a/pkg/uquery/v2/query/range.go +++ b/pkg/uquery/v2/query/range.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/regexp.go b/pkg/uquery/v2/query/regexp.go index d928bafec..ff557f459 100644 --- a/pkg/uquery/v2/query/regexp.go +++ b/pkg/uquery/v2/query/regexp.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/simple_query_string.go b/pkg/uquery/v2/query/simple_query_string.go index 010ac3226..ab00bfd31 100644 --- a/pkg/uquery/v2/query/simple_query_string.go +++ b/pkg/uquery/v2/query/simple_query_string.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/term.go b/pkg/uquery/v2/query/term.go index 1513cc784..3ca40548a 100644 --- a/pkg/uquery/v2/query/term.go +++ b/pkg/uquery/v2/query/term.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/terms.go b/pkg/uquery/v2/query/terms.go index 4748a50f6..f69a5dc4f 100644 --- a/pkg/uquery/v2/query/terms.go +++ b/pkg/uquery/v2/query/terms.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/terms_set.go b/pkg/uquery/v2/query/terms_set.go index 931ee52f5..565b95d9c 100644 --- a/pkg/uquery/v2/query/terms_set.go +++ b/pkg/uquery/v2/query/terms_set.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query/wildcard.go b/pkg/uquery/v2/query/wildcard.go index 919d923b0..d0d6d6954 100644 --- a/pkg/uquery/v2/query/wildcard.go +++ b/pkg/uquery/v2/query/wildcard.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 query import ( diff --git a/pkg/uquery/v2/query_dsl_parser.go b/pkg/uquery/v2/query_dsl_parser.go index 950e6aa77..f3eefce40 100644 --- a/pkg/uquery/v2/query_dsl_parser.go +++ b/pkg/uquery/v2/query_dsl_parser.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 parser import ( diff --git a/pkg/uquery/v2/query_response_format.go b/pkg/uquery/v2/query_response_format.go index f55af5b3a..ce8ab49ca 100644 --- a/pkg/uquery/v2/query_response_format.go +++ b/pkg/uquery/v2/query_response_format.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 parser import ( diff --git a/pkg/uquery/v2/sort/sort.go b/pkg/uquery/v2/sort/sort.go index 1612476c9..f10305454 100644 --- a/pkg/uquery/v2/sort/sort.go +++ b/pkg/uquery/v2/sort/sort.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 sort import ( diff --git a/pkg/uquery/v2/source/source.go b/pkg/uquery/v2/source/source.go index f41af12b6..75a21d1ef 100644 --- a/pkg/uquery/v2/source/source.go +++ b/pkg/uquery/v2/source/source.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 source import ( diff --git a/pkg/uquery/v2/template/template.go b/pkg/uquery/v2/template/template.go index e806a4052..2b2d0a088 100644 --- a/pkg/uquery/v2/template/template.go +++ b/pkg/uquery/v2/template/template.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 template import ( diff --git a/pkg/uquery/wildcard.go b/pkg/uquery/wildcard.go index eade70c7e..2fdf1e487 100644 --- a/pkg/uquery/wildcard.go +++ b/pkg/uquery/wildcard.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 uquery import ( diff --git a/pkg/zutils/base62/base62.go b/pkg/zutils/base62/base62.go index b2f026e31..64bf6e3cf 100644 --- a/pkg/zutils/base62/base62.go +++ b/pkg/zutils/base62/base62.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 base62 import ( diff --git a/pkg/zutils/base62/base62_test.go b/pkg/zutils/base62/base62_test.go index 282eb3431..f5c035ad4 100644 --- a/pkg/zutils/base62/base62_test.go +++ b/pkg/zutils/base62/base62_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 base62 import ( diff --git a/pkg/zutils/env.go b/pkg/zutils/env.go index 14c3c77be..b6c18f0c3 100644 --- a/pkg/zutils/env.go +++ b/pkg/zutils/env.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 zutils import "os" diff --git a/pkg/zutils/file.go b/pkg/zutils/file.go index 36edf616e..72f1cf3a7 100644 --- a/pkg/zutils/file.go +++ b/pkg/zutils/file.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 zutils import ( diff --git a/pkg/zutils/flatten/flatten.go b/pkg/zutils/flatten/flatten.go index c8833a3d4..1b03f722d 100644 --- a/pkg/zutils/flatten/flatten.go +++ b/pkg/zutils/flatten/flatten.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 flatten import ( diff --git a/pkg/zutils/flatten/flatten_test.go b/pkg/zutils/flatten/flatten_test.go index 30619aaf4..0c3e10a5d 100644 --- a/pkg/zutils/flatten/flatten_test.go +++ b/pkg/zutils/flatten/flatten_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 flatten import ( diff --git a/pkg/zutils/map.go b/pkg/zutils/map.go index 8800d325b..338f375fc 100644 --- a/pkg/zutils/map.go +++ b/pkg/zutils/map.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 zutils import "fmt" diff --git a/pkg/zutils/strings.go b/pkg/zutils/strings.go index 6f46de072..657b17fab 100644 --- a/pkg/zutils/strings.go +++ b/pkg/zutils/strings.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 zutils import "strconv" diff --git a/pkg/zutils/time.go b/pkg/zutils/time.go index 9510655e9..dcb083bd3 100644 --- a/pkg/zutils/time.go +++ b/pkg/zutils/time.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 zutils import ( diff --git a/pkg/zutils/time_zone.go b/pkg/zutils/time_zone.go index 326cbe290..11180c1dd 100644 --- a/pkg/zutils/time_zone.go +++ b/pkg/zutils/time_zone.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 zutils import ( diff --git a/test/analyze_test.go b/test/analyze_test.go index 8af9f4a71..41922a937 100644 --- a/test/analyze_test.go +++ b/test/analyze_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 test import ( diff --git a/test/api_test.go b/test/api_test.go index 502a252d4..023e8f42c 100644 --- a/test/api_test.go +++ b/test/api_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 test import ( diff --git a/test/auth_test.go b/test/auth_test.go index d9ed29ed5..c964443c0 100644 --- a/test/auth_test.go +++ b/test/auth_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 test import ( diff --git a/test/base_test.go b/test/base_test.go index dc781ff7d..e07e11301 100644 --- a/test/base_test.go +++ b/test/base_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 test import ( diff --git a/test/benchmark_test.go b/test/benchmark_test.go index ab73a4c72..e84e93022 100644 --- a/test/benchmark_test.go +++ b/test/benchmark_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 test import ( diff --git a/test/es_test.go b/test/es_test.go index 1f3b39624..59a6d6d46 100644 --- a/test/es_test.go +++ b/test/es_test.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 test import ( diff --git a/test/init.go b/test/init.go index f4727e2c7..ecb956ac2 100644 --- a/test/init.go +++ b/test/init.go @@ -1,3 +1,17 @@ +// Copyright 2022 Zinc Labs Inc. and Contributors +// +// 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 test import ( From fbd313eb2c80323046a0aaf702eb1eb32841ab0e Mon Sep 17 00:00:00 2001 From: Prabhat Sharma Date: Fri, 29 Apr 2022 17:14:24 -0700 Subject: [PATCH 06/10] fixed copyright --- cmd/zinc/main.go | 27 ++++++++++--------- embed.go | 27 ++++++++++--------- embed_test.go | 27 ++++++++++--------- pkg/auth/authmiddleware.go | 27 ++++++++++--------- pkg/auth/createuser.go | 27 ++++++++++--------- pkg/auth/deleteuser.go | 27 ++++++++++--------- pkg/auth/firststart.go | 27 ++++++++++--------- pkg/auth/getuser.go | 27 ++++++++++--------- pkg/auth/getusers.go | 27 ++++++++++--------- pkg/bluge/aggregation/aggregation.go | 27 ++++++++++--------- pkg/bluge/aggregation/auto_date_histogram.go | 27 ++++++++++--------- pkg/bluge/aggregation/date_histogram.go | 27 ++++++++++--------- pkg/bluge/aggregation/histogram.go | 27 ++++++++++--------- pkg/bluge/aggregation/terms.go | 27 ++++++++++--------- pkg/bluge/analysis/char/mapping.go | 27 ++++++++++--------- pkg/bluge/analysis/lang/bn/stop_words_bn.go | 27 ++++++++++--------- pkg/bluge/analysis/lang/br/stop_words_br.go | 27 ++++++++++--------- .../analysis/lang/chs/analyzer/search.go | 27 ++++++++++--------- .../analysis/lang/chs/analyzer/standard.go | 27 ++++++++++--------- pkg/bluge/analysis/lang/chs/gse.go | 27 ++++++++++--------- pkg/bluge/analysis/lang/chs/gse_dict.go | 27 ++++++++++--------- pkg/bluge/analysis/lang/chs/gse_stop.go | 27 ++++++++++--------- pkg/bluge/analysis/lang/chs/gse_test.go | 27 ++++++++++--------- pkg/bluge/analysis/lang/chs/token/stop.go | 27 ++++++++++--------- .../analysis/lang/chs/tokenizer/search.go | 27 ++++++++++--------- .../analysis/lang/chs/tokenizer/standard.go | 27 ++++++++++--------- pkg/bluge/analysis/lang/et/stop_words_et.go | 27 ++++++++++--------- pkg/bluge/analysis/lang/lv/stop_words_lv.go | 27 ++++++++++--------- pkg/bluge/analysis/lang/th/stop_words_th.go | 27 ++++++++++--------- pkg/bluge/analysis/token/regexp.go | 27 ++++++++++--------- pkg/bluge/analysis/token/stop.go | 27 ++++++++++--------- pkg/bluge/analysis/token/stop_words.go | 27 ++++++++++--------- pkg/bluge/analysis/token/trim.go | 27 ++++++++++--------- pkg/bluge/analysis/token/upper_case.go | 27 ++++++++++--------- pkg/bluge/analysis/tokenizer/char_group.go | 27 ++++++++++--------- pkg/bluge/analysis/tokenizer/edge_ngram.go | 27 ++++++++++--------- pkg/bluge/analysis/tokenizer/lower_case.go | 27 ++++++++++--------- pkg/bluge/analysis/tokenizer/ngram.go | 27 ++++++++++--------- .../analysis/tokenizer/path_hierarchy.go | 27 ++++++++++--------- pkg/core/index.go | 27 ++++++++++--------- pkg/core/loadindexes.go | 27 ++++++++++--------- pkg/core/loadindexes_test.go | 27 ++++++++++--------- pkg/core/multi_search_v2.go | 27 ++++++++++--------- pkg/core/newindex.go | 27 ++++++++++--------- pkg/core/newindex_test.go | 27 ++++++++++--------- pkg/core/search.go | 27 ++++++++++--------- pkg/core/search_v2.go | 27 ++++++++++--------- pkg/core/telemetry.go | 27 ++++++++++--------- pkg/core/template.go | 27 ++++++++++--------- pkg/core/types.go | 27 ++++++++++--------- pkg/core/updatedocument.go | 27 ++++++++++--------- pkg/directory/minio.go | 27 ++++++++++--------- pkg/directory/s3.go | 27 ++++++++++--------- pkg/errors/error.go | 27 ++++++++++--------- pkg/handlers/bulk.go | 27 ++++++++++--------- pkg/handlers/createindex.go | 27 ++++++++++--------- pkg/handlers/createupdateuser.go | 27 ++++++++++--------- pkg/handlers/deletedocument.go | 27 ++++++++++--------- pkg/handlers/deleteindex.go | 27 ++++++++++--------- pkg/handlers/deleteuser.go | 27 ++++++++++--------- pkg/handlers/getusers.go | 27 ++++++++++--------- pkg/handlers/listindexes.go | 27 ++++++++++--------- pkg/handlers/search.go | 27 ++++++++++--------- pkg/handlers/updatedocument.go | 27 ++++++++++--------- pkg/handlers/v2/index_analyzer.go | 27 ++++++++++--------- pkg/handlers/v2/index_mapping.go | 27 ++++++++++--------- pkg/handlers/v2/index_settings.go | 27 ++++++++++--------- pkg/handlers/v2/index_template.go | 27 ++++++++++--------- pkg/handlers/v2/search.go | 27 ++++++++++--------- pkg/handlers/validatecredentials.go | 27 ++++++++++--------- pkg/ider/id.go | 27 ++++++++++--------- pkg/meta/v1/GUI.go | 27 ++++++++++--------- pkg/meta/v1/elasticsearch.go | 27 ++++++++++--------- pkg/meta/v1/healthz.go | 27 ++++++++++--------- pkg/meta/v1/telemetry.go | 27 ++++++++++--------- pkg/meta/v1/types.go | 27 ++++++++++--------- pkg/meta/v1/version.go | 27 ++++++++++--------- pkg/meta/v2/analyzer.go | 27 ++++++++++--------- pkg/meta/v2/index.go | 27 ++++++++++--------- pkg/meta/v2/mappings.go | 27 ++++++++++--------- pkg/meta/v2/query_dsl.go | 27 ++++++++++--------- pkg/meta/v2/query_response.go | 27 ++++++++++--------- pkg/meta/v2/template.go | 27 ++++++++++--------- pkg/routes/accesslog.go | 27 ++++++++++--------- pkg/routes/httpcache.go | 27 ++++++++++--------- pkg/routes/prometheus.go | 27 ++++++++++--------- pkg/routes/routes.go | 27 ++++++++++--------- pkg/startup/loadconfig.go | 27 ++++++++++--------- pkg/uquery/aggregation.go | 27 ++++++++++--------- pkg/uquery/alldocuments.go | 27 ++++++++++--------- pkg/uquery/daterange.go | 27 ++++++++++--------- pkg/uquery/fuzzy.go | 27 ++++++++++--------- pkg/uquery/match.go | 27 ++++++++++--------- pkg/uquery/matchall.go | 27 ++++++++++--------- pkg/uquery/matchphrase.go | 27 ++++++++++--------- pkg/uquery/multiphrase.go | 27 ++++++++++--------- pkg/uquery/prefix.go | 27 ++++++++++--------- pkg/uquery/querystring.go | 27 ++++++++++--------- pkg/uquery/request.go | 27 ++++++++++--------- pkg/uquery/source.go | 27 ++++++++++--------- pkg/uquery/term.go | 27 ++++++++++--------- pkg/uquery/v2/aggregation/aggregation.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/analyzer.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/analyzer/regexp.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/analyzer/standard.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/analyzer/stop.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/analyzer/whitespace.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/char/mapping.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/char/regexp.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/char_filter.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/dict.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/edge_ngram.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/elision.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/keyword.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/length.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/ngram.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/regexp.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/shingle.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/stop.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/trim.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/truncate.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/unicodenorm.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token/upper_case.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/token_filter.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/tokenizer.go | 27 ++++++++++--------- .../v2/analysis/tokenizer/char_group.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/tokenizer/character.go | 27 ++++++++++--------- .../v2/analysis/tokenizer/edge_ngram.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/tokenizer/exception.go | 27 ++++++++++--------- .../v2/analysis/tokenizer/lower_case.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/tokenizer/ngram.go | 27 ++++++++++--------- .../v2/analysis/tokenizer/path_hierarchy.go | 27 ++++++++++--------- pkg/uquery/v2/analysis/tokenizer/regexp.go | 27 ++++++++++--------- pkg/uquery/v2/fields/fields.go | 27 ++++++++++--------- pkg/uquery/v2/highlight/highlight.go | 27 ++++++++++--------- pkg/uquery/v2/index/index.go | 27 ++++++++++--------- pkg/uquery/v2/mappings/mappings.go | 27 ++++++++++--------- pkg/uquery/v2/query/bool.go | 27 ++++++++++--------- pkg/uquery/v2/query/boosting.go | 27 ++++++++++--------- pkg/uquery/v2/query/combined_fields.go | 27 ++++++++++--------- pkg/uquery/v2/query/exists.go | 27 ++++++++++--------- pkg/uquery/v2/query/fuzzy.go | 27 ++++++++++--------- pkg/uquery/v2/query/geo.go | 27 ++++++++++--------- pkg/uquery/v2/query/ids.go | 27 ++++++++++--------- pkg/uquery/v2/query/match.go | 27 ++++++++++--------- pkg/uquery/v2/query/match_all.go | 27 ++++++++++--------- pkg/uquery/v2/query/match_bool_prefix.go | 27 ++++++++++--------- pkg/uquery/v2/query/match_none.go | 27 ++++++++++--------- pkg/uquery/v2/query/match_phrase.go | 27 ++++++++++--------- pkg/uquery/v2/query/match_phrase_prefix.go | 27 ++++++++++--------- pkg/uquery/v2/query/multi_match.go | 27 ++++++++++--------- pkg/uquery/v2/query/prefix.go | 27 ++++++++++--------- pkg/uquery/v2/query/query.go | 27 ++++++++++--------- pkg/uquery/v2/query/query_string.go | 27 ++++++++++--------- pkg/uquery/v2/query/range.go | 27 ++++++++++--------- pkg/uquery/v2/query/regexp.go | 27 ++++++++++--------- pkg/uquery/v2/query/simple_query_string.go | 27 ++++++++++--------- pkg/uquery/v2/query/term.go | 27 ++++++++++--------- pkg/uquery/v2/query/terms.go | 27 ++++++++++--------- pkg/uquery/v2/query/terms_set.go | 27 ++++++++++--------- pkg/uquery/v2/query/wildcard.go | 27 ++++++++++--------- pkg/uquery/v2/query_dsl_parser.go | 27 ++++++++++--------- pkg/uquery/v2/query_response_format.go | 27 ++++++++++--------- pkg/uquery/v2/sort/sort.go | 27 ++++++++++--------- pkg/uquery/v2/source/source.go | 27 ++++++++++--------- pkg/uquery/v2/template/template.go | 27 ++++++++++--------- pkg/uquery/wildcard.go | 27 ++++++++++--------- pkg/zutils/base62/base62.go | 27 ++++++++++--------- pkg/zutils/base62/base62_test.go | 27 ++++++++++--------- pkg/zutils/env.go | 27 ++++++++++--------- pkg/zutils/file.go | 27 ++++++++++--------- pkg/zutils/flatten/flatten.go | 27 ++++++++++--------- pkg/zutils/flatten/flatten_test.go | 27 ++++++++++--------- pkg/zutils/map.go | 27 ++++++++++--------- pkg/zutils/strings.go | 27 ++++++++++--------- pkg/zutils/time.go | 27 ++++++++++--------- pkg/zutils/time_zone.go | 27 ++++++++++--------- test/analyze_test.go | 27 ++++++++++--------- test/api_test.go | 27 ++++++++++--------- test/auth_test.go | 27 ++++++++++--------- test/base_test.go | 27 ++++++++++--------- test/benchmark_test.go | 27 ++++++++++--------- test/es_test.go | 27 ++++++++++--------- test/init.go | 27 ++++++++++--------- web/src/components/search/SyntaxGuide.vue | 3 ++- 185 files changed, 2578 insertions(+), 2393 deletions(-) diff --git a/cmd/zinc/main.go b/cmd/zinc/main.go index 0f2424682..5ae924b6f 100644 --- a/cmd/zinc/main.go +++ b/cmd/zinc/main.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 diff --git a/embed.go b/embed.go index efde5baa6..9ecdcf65a 100644 --- a/embed.go +++ b/embed.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 zinc diff --git a/embed_test.go b/embed_test.go index 85810ec49..93bbc0e61 100644 --- a/embed_test.go +++ b/embed_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 zinc diff --git a/pkg/auth/authmiddleware.go b/pkg/auth/authmiddleware.go index 37ea86bba..4e4a71510 100644 --- a/pkg/auth/authmiddleware.go +++ b/pkg/auth/authmiddleware.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 auth diff --git a/pkg/auth/createuser.go b/pkg/auth/createuser.go index b17be9e0f..934b1f6eb 100644 --- a/pkg/auth/createuser.go +++ b/pkg/auth/createuser.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 auth diff --git a/pkg/auth/deleteuser.go b/pkg/auth/deleteuser.go index ee9de85fa..b5cc0710a 100644 --- a/pkg/auth/deleteuser.go +++ b/pkg/auth/deleteuser.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 auth diff --git a/pkg/auth/firststart.go b/pkg/auth/firststart.go index 7f01349b3..15b77a0d2 100644 --- a/pkg/auth/firststart.go +++ b/pkg/auth/firststart.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 auth diff --git a/pkg/auth/getuser.go b/pkg/auth/getuser.go index d580d30c7..d22be4c25 100644 --- a/pkg/auth/getuser.go +++ b/pkg/auth/getuser.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 auth diff --git a/pkg/auth/getusers.go b/pkg/auth/getusers.go index bafdbe748..761d3a791 100644 --- a/pkg/auth/getusers.go +++ b/pkg/auth/getusers.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 auth diff --git a/pkg/bluge/aggregation/aggregation.go b/pkg/bluge/aggregation/aggregation.go index da127999a..c83849cc3 100644 --- a/pkg/bluge/aggregation/aggregation.go +++ b/pkg/bluge/aggregation/aggregation.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 aggregation diff --git a/pkg/bluge/aggregation/auto_date_histogram.go b/pkg/bluge/aggregation/auto_date_histogram.go index d924d6e36..d06fb9772 100644 --- a/pkg/bluge/aggregation/auto_date_histogram.go +++ b/pkg/bluge/aggregation/auto_date_histogram.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 aggregation diff --git a/pkg/bluge/aggregation/date_histogram.go b/pkg/bluge/aggregation/date_histogram.go index 82e8820e1..50eac7728 100644 --- a/pkg/bluge/aggregation/date_histogram.go +++ b/pkg/bluge/aggregation/date_histogram.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 aggregation diff --git a/pkg/bluge/aggregation/histogram.go b/pkg/bluge/aggregation/histogram.go index 6ac40036f..00082c430 100644 --- a/pkg/bluge/aggregation/histogram.go +++ b/pkg/bluge/aggregation/histogram.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 aggregation diff --git a/pkg/bluge/aggregation/terms.go b/pkg/bluge/aggregation/terms.go index 5370b5d77..30e9d316f 100644 --- a/pkg/bluge/aggregation/terms.go +++ b/pkg/bluge/aggregation/terms.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 aggregation diff --git a/pkg/bluge/analysis/char/mapping.go b/pkg/bluge/analysis/char/mapping.go index a557e2819..abf005987 100644 --- a/pkg/bluge/analysis/char/mapping.go +++ b/pkg/bluge/analysis/char/mapping.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 char diff --git a/pkg/bluge/analysis/lang/bn/stop_words_bn.go b/pkg/bluge/analysis/lang/bn/stop_words_bn.go index 52bed4e8b..d32190396 100644 --- a/pkg/bluge/analysis/lang/bn/stop_words_bn.go +++ b/pkg/bluge/analysis/lang/bn/stop_words_bn.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 bn diff --git a/pkg/bluge/analysis/lang/br/stop_words_br.go b/pkg/bluge/analysis/lang/br/stop_words_br.go index fcc412e70..d89e391a3 100644 --- a/pkg/bluge/analysis/lang/br/stop_words_br.go +++ b/pkg/bluge/analysis/lang/br/stop_words_br.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 br diff --git a/pkg/bluge/analysis/lang/chs/analyzer/search.go b/pkg/bluge/analysis/lang/chs/analyzer/search.go index 34246d252..f8f405886 100644 --- a/pkg/bluge/analysis/lang/chs/analyzer/search.go +++ b/pkg/bluge/analysis/lang/chs/analyzer/search.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 analyzer diff --git a/pkg/bluge/analysis/lang/chs/analyzer/standard.go b/pkg/bluge/analysis/lang/chs/analyzer/standard.go index 2e87d51c1..9575960ca 100644 --- a/pkg/bluge/analysis/lang/chs/analyzer/standard.go +++ b/pkg/bluge/analysis/lang/chs/analyzer/standard.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 analyzer diff --git a/pkg/bluge/analysis/lang/chs/gse.go b/pkg/bluge/analysis/lang/chs/gse.go index 94b4f0766..5490138a9 100644 --- a/pkg/bluge/analysis/lang/chs/gse.go +++ b/pkg/bluge/analysis/lang/chs/gse.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 chs diff --git a/pkg/bluge/analysis/lang/chs/gse_dict.go b/pkg/bluge/analysis/lang/chs/gse_dict.go index 25c6bc429..70bba3d49 100644 --- a/pkg/bluge/analysis/lang/chs/gse_dict.go +++ b/pkg/bluge/analysis/lang/chs/gse_dict.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 chs diff --git a/pkg/bluge/analysis/lang/chs/gse_stop.go b/pkg/bluge/analysis/lang/chs/gse_stop.go index 0e9eeeeda..84a4050ab 100644 --- a/pkg/bluge/analysis/lang/chs/gse_stop.go +++ b/pkg/bluge/analysis/lang/chs/gse_stop.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 chs diff --git a/pkg/bluge/analysis/lang/chs/gse_test.go b/pkg/bluge/analysis/lang/chs/gse_test.go index 074816749..41245bd04 100644 --- a/pkg/bluge/analysis/lang/chs/gse_test.go +++ b/pkg/bluge/analysis/lang/chs/gse_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 chs diff --git a/pkg/bluge/analysis/lang/chs/token/stop.go b/pkg/bluge/analysis/lang/chs/token/stop.go index 2497d6857..6f9e063a5 100644 --- a/pkg/bluge/analysis/lang/chs/token/stop.go +++ b/pkg/bluge/analysis/lang/chs/token/stop.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/bluge/analysis/lang/chs/tokenizer/search.go b/pkg/bluge/analysis/lang/chs/tokenizer/search.go index 3d2f48d0a..0bb1a82a3 100644 --- a/pkg/bluge/analysis/lang/chs/tokenizer/search.go +++ b/pkg/bluge/analysis/lang/chs/tokenizer/search.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/bluge/analysis/lang/chs/tokenizer/standard.go b/pkg/bluge/analysis/lang/chs/tokenizer/standard.go index b164fe17e..94aba2ff6 100644 --- a/pkg/bluge/analysis/lang/chs/tokenizer/standard.go +++ b/pkg/bluge/analysis/lang/chs/tokenizer/standard.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/bluge/analysis/lang/et/stop_words_et.go b/pkg/bluge/analysis/lang/et/stop_words_et.go index 71569bfe5..e0a74380e 100644 --- a/pkg/bluge/analysis/lang/et/stop_words_et.go +++ b/pkg/bluge/analysis/lang/et/stop_words_et.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 et diff --git a/pkg/bluge/analysis/lang/lv/stop_words_lv.go b/pkg/bluge/analysis/lang/lv/stop_words_lv.go index 226ba0b45..9bc899fdd 100644 --- a/pkg/bluge/analysis/lang/lv/stop_words_lv.go +++ b/pkg/bluge/analysis/lang/lv/stop_words_lv.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 lv diff --git a/pkg/bluge/analysis/lang/th/stop_words_th.go b/pkg/bluge/analysis/lang/th/stop_words_th.go index afb2b50e6..312c56ffd 100644 --- a/pkg/bluge/analysis/lang/th/stop_words_th.go +++ b/pkg/bluge/analysis/lang/th/stop_words_th.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 th diff --git a/pkg/bluge/analysis/token/regexp.go b/pkg/bluge/analysis/token/regexp.go index 93de05709..f32e07bcd 100644 --- a/pkg/bluge/analysis/token/regexp.go +++ b/pkg/bluge/analysis/token/regexp.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/bluge/analysis/token/stop.go b/pkg/bluge/analysis/token/stop.go index 256a1558e..0404045dd 100644 --- a/pkg/bluge/analysis/token/stop.go +++ b/pkg/bluge/analysis/token/stop.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/bluge/analysis/token/stop_words.go b/pkg/bluge/analysis/token/stop_words.go index 1cc791e0d..c161b42e4 100644 --- a/pkg/bluge/analysis/token/stop_words.go +++ b/pkg/bluge/analysis/token/stop_words.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/bluge/analysis/token/trim.go b/pkg/bluge/analysis/token/trim.go index 0fb704250..bca359069 100644 --- a/pkg/bluge/analysis/token/trim.go +++ b/pkg/bluge/analysis/token/trim.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/bluge/analysis/token/upper_case.go b/pkg/bluge/analysis/token/upper_case.go index 6404bd953..196bb9d0e 100644 --- a/pkg/bluge/analysis/token/upper_case.go +++ b/pkg/bluge/analysis/token/upper_case.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/bluge/analysis/tokenizer/char_group.go b/pkg/bluge/analysis/tokenizer/char_group.go index 53aa476b6..6527e167e 100644 --- a/pkg/bluge/analysis/tokenizer/char_group.go +++ b/pkg/bluge/analysis/tokenizer/char_group.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/bluge/analysis/tokenizer/edge_ngram.go b/pkg/bluge/analysis/tokenizer/edge_ngram.go index f63d9006c..d9b506727 100644 --- a/pkg/bluge/analysis/tokenizer/edge_ngram.go +++ b/pkg/bluge/analysis/tokenizer/edge_ngram.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/bluge/analysis/tokenizer/lower_case.go b/pkg/bluge/analysis/tokenizer/lower_case.go index 07036b836..f8bab6fc0 100644 --- a/pkg/bluge/analysis/tokenizer/lower_case.go +++ b/pkg/bluge/analysis/tokenizer/lower_case.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/bluge/analysis/tokenizer/ngram.go b/pkg/bluge/analysis/tokenizer/ngram.go index 38935826b..675bebd3c 100644 --- a/pkg/bluge/analysis/tokenizer/ngram.go +++ b/pkg/bluge/analysis/tokenizer/ngram.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/bluge/analysis/tokenizer/path_hierarchy.go b/pkg/bluge/analysis/tokenizer/path_hierarchy.go index 5394d96c1..77ff4263c 100644 --- a/pkg/bluge/analysis/tokenizer/path_hierarchy.go +++ b/pkg/bluge/analysis/tokenizer/path_hierarchy.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/core/index.go b/pkg/core/index.go index 7e6af002a..9e4f38299 100644 --- a/pkg/core/index.go +++ b/pkg/core/index.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/core/loadindexes.go b/pkg/core/loadindexes.go index 0639b24cc..638aff11e 100644 --- a/pkg/core/loadindexes.go +++ b/pkg/core/loadindexes.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/core/loadindexes_test.go b/pkg/core/loadindexes_test.go index f7ddd3599..de550bbac 100644 --- a/pkg/core/loadindexes_test.go +++ b/pkg/core/loadindexes_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/core/multi_search_v2.go b/pkg/core/multi_search_v2.go index 5ed8732e2..65d83bbfd 100644 --- a/pkg/core/multi_search_v2.go +++ b/pkg/core/multi_search_v2.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/core/newindex.go b/pkg/core/newindex.go index 16ed2b49b..ce9950531 100644 --- a/pkg/core/newindex.go +++ b/pkg/core/newindex.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/core/newindex_test.go b/pkg/core/newindex_test.go index 4babaa185..249dcd42b 100644 --- a/pkg/core/newindex_test.go +++ b/pkg/core/newindex_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/core/search.go b/pkg/core/search.go index cb4b7a722..b509b828b 100644 --- a/pkg/core/search.go +++ b/pkg/core/search.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/core/search_v2.go b/pkg/core/search_v2.go index 81dbe8ad9..d53f4cb0d 100644 --- a/pkg/core/search_v2.go +++ b/pkg/core/search_v2.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/core/telemetry.go b/pkg/core/telemetry.go index 32605676e..62c617c0b 100644 --- a/pkg/core/telemetry.go +++ b/pkg/core/telemetry.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/core/template.go b/pkg/core/template.go index a869dd60f..cc8b6a227 100644 --- a/pkg/core/template.go +++ b/pkg/core/template.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/core/types.go b/pkg/core/types.go index 54c7ea638..f67362843 100644 --- a/pkg/core/types.go +++ b/pkg/core/types.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/core/updatedocument.go b/pkg/core/updatedocument.go index 202e75834..b4a6c424e 100644 --- a/pkg/core/updatedocument.go +++ b/pkg/core/updatedocument.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 core diff --git a/pkg/directory/minio.go b/pkg/directory/minio.go index 17bf88106..4f539e363 100644 --- a/pkg/directory/minio.go +++ b/pkg/directory/minio.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 directory diff --git a/pkg/directory/s3.go b/pkg/directory/s3.go index d310e5994..670fb911e 100644 --- a/pkg/directory/s3.go +++ b/pkg/directory/s3.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 directory diff --git a/pkg/errors/error.go b/pkg/errors/error.go index 91af6f8c1..bc411be65 100644 --- a/pkg/errors/error.go +++ b/pkg/errors/error.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 errors diff --git a/pkg/handlers/bulk.go b/pkg/handlers/bulk.go index c468c16a5..9fcbcc9dd 100644 --- a/pkg/handlers/bulk.go +++ b/pkg/handlers/bulk.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 handlers diff --git a/pkg/handlers/createindex.go b/pkg/handlers/createindex.go index 721f92f0f..2ae6f35d3 100644 --- a/pkg/handlers/createindex.go +++ b/pkg/handlers/createindex.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 handlers diff --git a/pkg/handlers/createupdateuser.go b/pkg/handlers/createupdateuser.go index b263107ba..0ed3c1d84 100644 --- a/pkg/handlers/createupdateuser.go +++ b/pkg/handlers/createupdateuser.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 handlers diff --git a/pkg/handlers/deletedocument.go b/pkg/handlers/deletedocument.go index f1a2dc2c1..d6f418f13 100644 --- a/pkg/handlers/deletedocument.go +++ b/pkg/handlers/deletedocument.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 handlers diff --git a/pkg/handlers/deleteindex.go b/pkg/handlers/deleteindex.go index 42608b882..f159373fc 100644 --- a/pkg/handlers/deleteindex.go +++ b/pkg/handlers/deleteindex.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 handlers diff --git a/pkg/handlers/deleteuser.go b/pkg/handlers/deleteuser.go index cb8cb8547..08d87cc1f 100644 --- a/pkg/handlers/deleteuser.go +++ b/pkg/handlers/deleteuser.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 handlers diff --git a/pkg/handlers/getusers.go b/pkg/handlers/getusers.go index 0444f8196..90802ddf2 100644 --- a/pkg/handlers/getusers.go +++ b/pkg/handlers/getusers.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 handlers diff --git a/pkg/handlers/listindexes.go b/pkg/handlers/listindexes.go index f77415b3f..9a44064b2 100644 --- a/pkg/handlers/listindexes.go +++ b/pkg/handlers/listindexes.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 handlers diff --git a/pkg/handlers/search.go b/pkg/handlers/search.go index 949dc4059..84ada954f 100644 --- a/pkg/handlers/search.go +++ b/pkg/handlers/search.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 handlers diff --git a/pkg/handlers/updatedocument.go b/pkg/handlers/updatedocument.go index 7e54ce26b..b41dd7026 100644 --- a/pkg/handlers/updatedocument.go +++ b/pkg/handlers/updatedocument.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 handlers diff --git a/pkg/handlers/v2/index_analyzer.go b/pkg/handlers/v2/index_analyzer.go index e44458ce7..ec9ccb99a 100644 --- a/pkg/handlers/v2/index_analyzer.go +++ b/pkg/handlers/v2/index_analyzer.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v2 diff --git a/pkg/handlers/v2/index_mapping.go b/pkg/handlers/v2/index_mapping.go index d019923d3..831f0fff4 100644 --- a/pkg/handlers/v2/index_mapping.go +++ b/pkg/handlers/v2/index_mapping.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v2 diff --git a/pkg/handlers/v2/index_settings.go b/pkg/handlers/v2/index_settings.go index b29d60945..a4a786f41 100644 --- a/pkg/handlers/v2/index_settings.go +++ b/pkg/handlers/v2/index_settings.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v2 diff --git a/pkg/handlers/v2/index_template.go b/pkg/handlers/v2/index_template.go index b813b2df1..9a0f9f845 100644 --- a/pkg/handlers/v2/index_template.go +++ b/pkg/handlers/v2/index_template.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v2 diff --git a/pkg/handlers/v2/search.go b/pkg/handlers/v2/search.go index 4f43d0af7..e64a44192 100644 --- a/pkg/handlers/v2/search.go +++ b/pkg/handlers/v2/search.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v2 diff --git a/pkg/handlers/validatecredentials.go b/pkg/handlers/validatecredentials.go index 39fac8f0a..102364070 100644 --- a/pkg/handlers/validatecredentials.go +++ b/pkg/handlers/validatecredentials.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 handlers diff --git a/pkg/ider/id.go b/pkg/ider/id.go index 505303815..dbcb3a283 100644 --- a/pkg/ider/id.go +++ b/pkg/ider/id.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 ider diff --git a/pkg/meta/v1/GUI.go b/pkg/meta/v1/GUI.go index 0e4107fbe..50c43edc6 100644 --- a/pkg/meta/v1/GUI.go +++ b/pkg/meta/v1/GUI.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v1 diff --git a/pkg/meta/v1/elasticsearch.go b/pkg/meta/v1/elasticsearch.go index b9ee3a736..57d021cf7 100644 --- a/pkg/meta/v1/elasticsearch.go +++ b/pkg/meta/v1/elasticsearch.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v1 diff --git a/pkg/meta/v1/healthz.go b/pkg/meta/v1/healthz.go index cfc6adfb8..9ff1d35d1 100644 --- a/pkg/meta/v1/healthz.go +++ b/pkg/meta/v1/healthz.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v1 diff --git a/pkg/meta/v1/telemetry.go b/pkg/meta/v1/telemetry.go index 82e1da767..16e6adf01 100644 --- a/pkg/meta/v1/telemetry.go +++ b/pkg/meta/v1/telemetry.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v1 diff --git a/pkg/meta/v1/types.go b/pkg/meta/v1/types.go index ac1c4173a..d4272affd 100644 --- a/pkg/meta/v1/types.go +++ b/pkg/meta/v1/types.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v1 diff --git a/pkg/meta/v1/version.go b/pkg/meta/v1/version.go index 35abb4f64..b193f531f 100644 --- a/pkg/meta/v1/version.go +++ b/pkg/meta/v1/version.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v1 diff --git a/pkg/meta/v2/analyzer.go b/pkg/meta/v2/analyzer.go index a5f53e027..636117909 100644 --- a/pkg/meta/v2/analyzer.go +++ b/pkg/meta/v2/analyzer.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v2 diff --git a/pkg/meta/v2/index.go b/pkg/meta/v2/index.go index 02d3d231c..3de533d99 100644 --- a/pkg/meta/v2/index.go +++ b/pkg/meta/v2/index.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v2 diff --git a/pkg/meta/v2/mappings.go b/pkg/meta/v2/mappings.go index c20ec3c3a..e787b4d86 100644 --- a/pkg/meta/v2/mappings.go +++ b/pkg/meta/v2/mappings.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v2 diff --git a/pkg/meta/v2/query_dsl.go b/pkg/meta/v2/query_dsl.go index ecfcf31c8..8147e8100 100644 --- a/pkg/meta/v2/query_dsl.go +++ b/pkg/meta/v2/query_dsl.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v2 diff --git a/pkg/meta/v2/query_response.go b/pkg/meta/v2/query_response.go index c44aec0d4..53da073b5 100644 --- a/pkg/meta/v2/query_response.go +++ b/pkg/meta/v2/query_response.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v2 diff --git a/pkg/meta/v2/template.go b/pkg/meta/v2/template.go index 0a52d832b..e10fe0d9f 100644 --- a/pkg/meta/v2/template.go +++ b/pkg/meta/v2/template.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 v2 diff --git a/pkg/routes/accesslog.go b/pkg/routes/accesslog.go index 8216fcb3b..e154ea4ef 100644 --- a/pkg/routes/accesslog.go +++ b/pkg/routes/accesslog.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 routes diff --git a/pkg/routes/httpcache.go b/pkg/routes/httpcache.go index 1c282c04d..fc12e1f6e 100644 --- a/pkg/routes/httpcache.go +++ b/pkg/routes/httpcache.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 routes diff --git a/pkg/routes/prometheus.go b/pkg/routes/prometheus.go index d83f38944..a68f90168 100644 --- a/pkg/routes/prometheus.go +++ b/pkg/routes/prometheus.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 routes diff --git a/pkg/routes/routes.go b/pkg/routes/routes.go index 3ff13cdc1..1d46628ef 100644 --- a/pkg/routes/routes.go +++ b/pkg/routes/routes.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 routes diff --git a/pkg/startup/loadconfig.go b/pkg/startup/loadconfig.go index b965bea18..45e67e36f 100644 --- a/pkg/startup/loadconfig.go +++ b/pkg/startup/loadconfig.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 startup diff --git a/pkg/uquery/aggregation.go b/pkg/uquery/aggregation.go index f538d284d..22118f731 100644 --- a/pkg/uquery/aggregation.go +++ b/pkg/uquery/aggregation.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/alldocuments.go b/pkg/uquery/alldocuments.go index 6f21e3869..152a9807a 100644 --- a/pkg/uquery/alldocuments.go +++ b/pkg/uquery/alldocuments.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/daterange.go b/pkg/uquery/daterange.go index a6b23b031..6ca976f1c 100644 --- a/pkg/uquery/daterange.go +++ b/pkg/uquery/daterange.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/fuzzy.go b/pkg/uquery/fuzzy.go index 37b636b46..c60b637d0 100644 --- a/pkg/uquery/fuzzy.go +++ b/pkg/uquery/fuzzy.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/match.go b/pkg/uquery/match.go index d059c8da6..c1655baf8 100644 --- a/pkg/uquery/match.go +++ b/pkg/uquery/match.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/matchall.go b/pkg/uquery/matchall.go index a4613f2ef..5d5f68517 100644 --- a/pkg/uquery/matchall.go +++ b/pkg/uquery/matchall.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/matchphrase.go b/pkg/uquery/matchphrase.go index 121ad8b2e..c86c9d144 100644 --- a/pkg/uquery/matchphrase.go +++ b/pkg/uquery/matchphrase.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/multiphrase.go b/pkg/uquery/multiphrase.go index a71b84d29..c2a7e21ac 100644 --- a/pkg/uquery/multiphrase.go +++ b/pkg/uquery/multiphrase.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/prefix.go b/pkg/uquery/prefix.go index 0c3e340d9..b5b731cb7 100644 --- a/pkg/uquery/prefix.go +++ b/pkg/uquery/prefix.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/querystring.go b/pkg/uquery/querystring.go index 6eae98ba3..40571ff93 100644 --- a/pkg/uquery/querystring.go +++ b/pkg/uquery/querystring.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/request.go b/pkg/uquery/request.go index c51b1bead..dd57bad99 100644 --- a/pkg/uquery/request.go +++ b/pkg/uquery/request.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/source.go b/pkg/uquery/source.go index ebccbb33f..a35c6d1a5 100644 --- a/pkg/uquery/source.go +++ b/pkg/uquery/source.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/term.go b/pkg/uquery/term.go index 4dd128ccc..8cf8c4a5d 100644 --- a/pkg/uquery/term.go +++ b/pkg/uquery/term.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/uquery/v2/aggregation/aggregation.go b/pkg/uquery/v2/aggregation/aggregation.go index 830d59ad6..8ca04884a 100644 --- a/pkg/uquery/v2/aggregation/aggregation.go +++ b/pkg/uquery/v2/aggregation/aggregation.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 aggregation diff --git a/pkg/uquery/v2/analysis/analyzer.go b/pkg/uquery/v2/analysis/analyzer.go index 47f7d1d53..f2b435330 100644 --- a/pkg/uquery/v2/analysis/analyzer.go +++ b/pkg/uquery/v2/analysis/analyzer.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 analysis diff --git a/pkg/uquery/v2/analysis/analyzer/regexp.go b/pkg/uquery/v2/analysis/analyzer/regexp.go index 48625b5cc..c08e53051 100644 --- a/pkg/uquery/v2/analysis/analyzer/regexp.go +++ b/pkg/uquery/v2/analysis/analyzer/regexp.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 analyzer diff --git a/pkg/uquery/v2/analysis/analyzer/standard.go b/pkg/uquery/v2/analysis/analyzer/standard.go index c6c2dc38b..b480cea9f 100644 --- a/pkg/uquery/v2/analysis/analyzer/standard.go +++ b/pkg/uquery/v2/analysis/analyzer/standard.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 analyzer diff --git a/pkg/uquery/v2/analysis/analyzer/stop.go b/pkg/uquery/v2/analysis/analyzer/stop.go index 03c5d10e7..7a204515d 100644 --- a/pkg/uquery/v2/analysis/analyzer/stop.go +++ b/pkg/uquery/v2/analysis/analyzer/stop.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 analyzer diff --git a/pkg/uquery/v2/analysis/analyzer/whitespace.go b/pkg/uquery/v2/analysis/analyzer/whitespace.go index 5e197abae..45e0bfd25 100644 --- a/pkg/uquery/v2/analysis/analyzer/whitespace.go +++ b/pkg/uquery/v2/analysis/analyzer/whitespace.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 analyzer diff --git a/pkg/uquery/v2/analysis/char/mapping.go b/pkg/uquery/v2/analysis/char/mapping.go index 5abb6b40b..815631f7d 100644 --- a/pkg/uquery/v2/analysis/char/mapping.go +++ b/pkg/uquery/v2/analysis/char/mapping.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 char diff --git a/pkg/uquery/v2/analysis/char/regexp.go b/pkg/uquery/v2/analysis/char/regexp.go index 138ec0351..9f2ff077a 100644 --- a/pkg/uquery/v2/analysis/char/regexp.go +++ b/pkg/uquery/v2/analysis/char/regexp.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 char diff --git a/pkg/uquery/v2/analysis/char_filter.go b/pkg/uquery/v2/analysis/char_filter.go index 3abf3b875..2533db285 100644 --- a/pkg/uquery/v2/analysis/char_filter.go +++ b/pkg/uquery/v2/analysis/char_filter.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 analysis diff --git a/pkg/uquery/v2/analysis/token/dict.go b/pkg/uquery/v2/analysis/token/dict.go index f60156994..30596d920 100644 --- a/pkg/uquery/v2/analysis/token/dict.go +++ b/pkg/uquery/v2/analysis/token/dict.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/edge_ngram.go b/pkg/uquery/v2/analysis/token/edge_ngram.go index 1a32b261e..7e9f18c04 100644 --- a/pkg/uquery/v2/analysis/token/edge_ngram.go +++ b/pkg/uquery/v2/analysis/token/edge_ngram.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/elision.go b/pkg/uquery/v2/analysis/token/elision.go index 233f1f39c..8fdd9f1be 100644 --- a/pkg/uquery/v2/analysis/token/elision.go +++ b/pkg/uquery/v2/analysis/token/elision.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/keyword.go b/pkg/uquery/v2/analysis/token/keyword.go index 36ca9f976..9ae9bf2eb 100644 --- a/pkg/uquery/v2/analysis/token/keyword.go +++ b/pkg/uquery/v2/analysis/token/keyword.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/length.go b/pkg/uquery/v2/analysis/token/length.go index 7b27fc358..c9c907672 100644 --- a/pkg/uquery/v2/analysis/token/length.go +++ b/pkg/uquery/v2/analysis/token/length.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/ngram.go b/pkg/uquery/v2/analysis/token/ngram.go index 51ec635e7..e440c6e3d 100644 --- a/pkg/uquery/v2/analysis/token/ngram.go +++ b/pkg/uquery/v2/analysis/token/ngram.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/regexp.go b/pkg/uquery/v2/analysis/token/regexp.go index 97ef77dc7..c795f5d2f 100644 --- a/pkg/uquery/v2/analysis/token/regexp.go +++ b/pkg/uquery/v2/analysis/token/regexp.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/shingle.go b/pkg/uquery/v2/analysis/token/shingle.go index e9b5b089f..430bf2eaf 100644 --- a/pkg/uquery/v2/analysis/token/shingle.go +++ b/pkg/uquery/v2/analysis/token/shingle.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/stop.go b/pkg/uquery/v2/analysis/token/stop.go index ac0b9b41a..176194a6f 100644 --- a/pkg/uquery/v2/analysis/token/stop.go +++ b/pkg/uquery/v2/analysis/token/stop.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/trim.go b/pkg/uquery/v2/analysis/token/trim.go index 90997353f..d2c16b51c 100644 --- a/pkg/uquery/v2/analysis/token/trim.go +++ b/pkg/uquery/v2/analysis/token/trim.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/truncate.go b/pkg/uquery/v2/analysis/token/truncate.go index 3563ffe21..7b5056fbe 100644 --- a/pkg/uquery/v2/analysis/token/truncate.go +++ b/pkg/uquery/v2/analysis/token/truncate.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/unicodenorm.go b/pkg/uquery/v2/analysis/token/unicodenorm.go index 2d7fdd579..b19d8e15c 100644 --- a/pkg/uquery/v2/analysis/token/unicodenorm.go +++ b/pkg/uquery/v2/analysis/token/unicodenorm.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token/upper_case.go b/pkg/uquery/v2/analysis/token/upper_case.go index c49146afd..b3ffb4296 100644 --- a/pkg/uquery/v2/analysis/token/upper_case.go +++ b/pkg/uquery/v2/analysis/token/upper_case.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 token diff --git a/pkg/uquery/v2/analysis/token_filter.go b/pkg/uquery/v2/analysis/token_filter.go index a93485760..cf0f8d759 100644 --- a/pkg/uquery/v2/analysis/token_filter.go +++ b/pkg/uquery/v2/analysis/token_filter.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 analysis diff --git a/pkg/uquery/v2/analysis/tokenizer.go b/pkg/uquery/v2/analysis/tokenizer.go index 791548018..2507d9051 100644 --- a/pkg/uquery/v2/analysis/tokenizer.go +++ b/pkg/uquery/v2/analysis/tokenizer.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 analysis diff --git a/pkg/uquery/v2/analysis/tokenizer/char_group.go b/pkg/uquery/v2/analysis/tokenizer/char_group.go index 3cea84d0e..ec5b1d145 100644 --- a/pkg/uquery/v2/analysis/tokenizer/char_group.go +++ b/pkg/uquery/v2/analysis/tokenizer/char_group.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/uquery/v2/analysis/tokenizer/character.go b/pkg/uquery/v2/analysis/tokenizer/character.go index 712adbfc6..1590ffc9a 100644 --- a/pkg/uquery/v2/analysis/tokenizer/character.go +++ b/pkg/uquery/v2/analysis/tokenizer/character.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/uquery/v2/analysis/tokenizer/edge_ngram.go b/pkg/uquery/v2/analysis/tokenizer/edge_ngram.go index 129f61156..d8032b00d 100644 --- a/pkg/uquery/v2/analysis/tokenizer/edge_ngram.go +++ b/pkg/uquery/v2/analysis/tokenizer/edge_ngram.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/uquery/v2/analysis/tokenizer/exception.go b/pkg/uquery/v2/analysis/tokenizer/exception.go index 852d7155b..bb95bc21b 100644 --- a/pkg/uquery/v2/analysis/tokenizer/exception.go +++ b/pkg/uquery/v2/analysis/tokenizer/exception.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/uquery/v2/analysis/tokenizer/lower_case.go b/pkg/uquery/v2/analysis/tokenizer/lower_case.go index 1bae89784..dc675f760 100644 --- a/pkg/uquery/v2/analysis/tokenizer/lower_case.go +++ b/pkg/uquery/v2/analysis/tokenizer/lower_case.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/uquery/v2/analysis/tokenizer/ngram.go b/pkg/uquery/v2/analysis/tokenizer/ngram.go index 6034e9cf6..3de2ba7f5 100644 --- a/pkg/uquery/v2/analysis/tokenizer/ngram.go +++ b/pkg/uquery/v2/analysis/tokenizer/ngram.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/uquery/v2/analysis/tokenizer/path_hierarchy.go b/pkg/uquery/v2/analysis/tokenizer/path_hierarchy.go index ff0585aa8..bfbf2315f 100644 --- a/pkg/uquery/v2/analysis/tokenizer/path_hierarchy.go +++ b/pkg/uquery/v2/analysis/tokenizer/path_hierarchy.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/uquery/v2/analysis/tokenizer/regexp.go b/pkg/uquery/v2/analysis/tokenizer/regexp.go index c1c392b39..ce48ba674 100644 --- a/pkg/uquery/v2/analysis/tokenizer/regexp.go +++ b/pkg/uquery/v2/analysis/tokenizer/regexp.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 tokenizer diff --git a/pkg/uquery/v2/fields/fields.go b/pkg/uquery/v2/fields/fields.go index 6e6eb0491..3e887104a 100644 --- a/pkg/uquery/v2/fields/fields.go +++ b/pkg/uquery/v2/fields/fields.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 fields diff --git a/pkg/uquery/v2/highlight/highlight.go b/pkg/uquery/v2/highlight/highlight.go index 17cde4407..542581ca5 100644 --- a/pkg/uquery/v2/highlight/highlight.go +++ b/pkg/uquery/v2/highlight/highlight.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 highlight diff --git a/pkg/uquery/v2/index/index.go b/pkg/uquery/v2/index/index.go index 8cd442747..4855fd62c 100644 --- a/pkg/uquery/v2/index/index.go +++ b/pkg/uquery/v2/index/index.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 index diff --git a/pkg/uquery/v2/mappings/mappings.go b/pkg/uquery/v2/mappings/mappings.go index c1936252f..bfe601043 100644 --- a/pkg/uquery/v2/mappings/mappings.go +++ b/pkg/uquery/v2/mappings/mappings.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 mappings diff --git a/pkg/uquery/v2/query/bool.go b/pkg/uquery/v2/query/bool.go index 3910b697c..a81fde204 100644 --- a/pkg/uquery/v2/query/bool.go +++ b/pkg/uquery/v2/query/bool.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/boosting.go b/pkg/uquery/v2/query/boosting.go index 46df168aa..622fa8f14 100644 --- a/pkg/uquery/v2/query/boosting.go +++ b/pkg/uquery/v2/query/boosting.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/combined_fields.go b/pkg/uquery/v2/query/combined_fields.go index b2b020e4f..c787d9901 100644 --- a/pkg/uquery/v2/query/combined_fields.go +++ b/pkg/uquery/v2/query/combined_fields.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/exists.go b/pkg/uquery/v2/query/exists.go index fc4cdd6d3..376f6982d 100644 --- a/pkg/uquery/v2/query/exists.go +++ b/pkg/uquery/v2/query/exists.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/fuzzy.go b/pkg/uquery/v2/query/fuzzy.go index 1caa65f78..451144787 100644 --- a/pkg/uquery/v2/query/fuzzy.go +++ b/pkg/uquery/v2/query/fuzzy.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/geo.go b/pkg/uquery/v2/query/geo.go index cec350d6c..ffc611a35 100644 --- a/pkg/uquery/v2/query/geo.go +++ b/pkg/uquery/v2/query/geo.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/ids.go b/pkg/uquery/v2/query/ids.go index 3d89c3d5b..12d561b2f 100644 --- a/pkg/uquery/v2/query/ids.go +++ b/pkg/uquery/v2/query/ids.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/match.go b/pkg/uquery/v2/query/match.go index 60881df44..f27f1e5b4 100644 --- a/pkg/uquery/v2/query/match.go +++ b/pkg/uquery/v2/query/match.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/match_all.go b/pkg/uquery/v2/query/match_all.go index fb904b0d2..1c1eafa86 100644 --- a/pkg/uquery/v2/query/match_all.go +++ b/pkg/uquery/v2/query/match_all.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/match_bool_prefix.go b/pkg/uquery/v2/query/match_bool_prefix.go index b47b15e3f..dceb13389 100644 --- a/pkg/uquery/v2/query/match_bool_prefix.go +++ b/pkg/uquery/v2/query/match_bool_prefix.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/match_none.go b/pkg/uquery/v2/query/match_none.go index a99177a96..853f1d10b 100644 --- a/pkg/uquery/v2/query/match_none.go +++ b/pkg/uquery/v2/query/match_none.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/match_phrase.go b/pkg/uquery/v2/query/match_phrase.go index 92c2e84ce..2e888f10d 100644 --- a/pkg/uquery/v2/query/match_phrase.go +++ b/pkg/uquery/v2/query/match_phrase.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/match_phrase_prefix.go b/pkg/uquery/v2/query/match_phrase_prefix.go index 89f648be7..39681cbde 100644 --- a/pkg/uquery/v2/query/match_phrase_prefix.go +++ b/pkg/uquery/v2/query/match_phrase_prefix.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/multi_match.go b/pkg/uquery/v2/query/multi_match.go index 9c873c2fb..642fb3fde 100644 --- a/pkg/uquery/v2/query/multi_match.go +++ b/pkg/uquery/v2/query/multi_match.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/prefix.go b/pkg/uquery/v2/query/prefix.go index 8a9d7ab3d..68b2a3167 100644 --- a/pkg/uquery/v2/query/prefix.go +++ b/pkg/uquery/v2/query/prefix.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/query.go b/pkg/uquery/v2/query/query.go index 7d0611d02..e3059cb9e 100644 --- a/pkg/uquery/v2/query/query.go +++ b/pkg/uquery/v2/query/query.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/query_string.go b/pkg/uquery/v2/query/query_string.go index ab03ceaf9..b19d5defd 100644 --- a/pkg/uquery/v2/query/query_string.go +++ b/pkg/uquery/v2/query/query_string.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/range.go b/pkg/uquery/v2/query/range.go index 4decf7362..f7885c3fa 100644 --- a/pkg/uquery/v2/query/range.go +++ b/pkg/uquery/v2/query/range.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/regexp.go b/pkg/uquery/v2/query/regexp.go index ff557f459..01811933c 100644 --- a/pkg/uquery/v2/query/regexp.go +++ b/pkg/uquery/v2/query/regexp.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/simple_query_string.go b/pkg/uquery/v2/query/simple_query_string.go index ab00bfd31..1ce5aa7e8 100644 --- a/pkg/uquery/v2/query/simple_query_string.go +++ b/pkg/uquery/v2/query/simple_query_string.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/term.go b/pkg/uquery/v2/query/term.go index 3ca40548a..dc8d5ce1a 100644 --- a/pkg/uquery/v2/query/term.go +++ b/pkg/uquery/v2/query/term.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/terms.go b/pkg/uquery/v2/query/terms.go index f69a5dc4f..dae6bb6f6 100644 --- a/pkg/uquery/v2/query/terms.go +++ b/pkg/uquery/v2/query/terms.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/terms_set.go b/pkg/uquery/v2/query/terms_set.go index 565b95d9c..b2baeb0ea 100644 --- a/pkg/uquery/v2/query/terms_set.go +++ b/pkg/uquery/v2/query/terms_set.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query/wildcard.go b/pkg/uquery/v2/query/wildcard.go index d0d6d6954..6fa45ef75 100644 --- a/pkg/uquery/v2/query/wildcard.go +++ b/pkg/uquery/v2/query/wildcard.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 query diff --git a/pkg/uquery/v2/query_dsl_parser.go b/pkg/uquery/v2/query_dsl_parser.go index f3eefce40..76e56239e 100644 --- a/pkg/uquery/v2/query_dsl_parser.go +++ b/pkg/uquery/v2/query_dsl_parser.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 parser diff --git a/pkg/uquery/v2/query_response_format.go b/pkg/uquery/v2/query_response_format.go index ce8ab49ca..bcf2bcadc 100644 --- a/pkg/uquery/v2/query_response_format.go +++ b/pkg/uquery/v2/query_response_format.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 parser diff --git a/pkg/uquery/v2/sort/sort.go b/pkg/uquery/v2/sort/sort.go index f10305454..5de935178 100644 --- a/pkg/uquery/v2/sort/sort.go +++ b/pkg/uquery/v2/sort/sort.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 sort diff --git a/pkg/uquery/v2/source/source.go b/pkg/uquery/v2/source/source.go index 75a21d1ef..62022f1c3 100644 --- a/pkg/uquery/v2/source/source.go +++ b/pkg/uquery/v2/source/source.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 source diff --git a/pkg/uquery/v2/template/template.go b/pkg/uquery/v2/template/template.go index 2b2d0a088..79b9a8c8b 100644 --- a/pkg/uquery/v2/template/template.go +++ b/pkg/uquery/v2/template/template.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 template diff --git a/pkg/uquery/wildcard.go b/pkg/uquery/wildcard.go index 2fdf1e487..d99ba2af1 100644 --- a/pkg/uquery/wildcard.go +++ b/pkg/uquery/wildcard.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 uquery diff --git a/pkg/zutils/base62/base62.go b/pkg/zutils/base62/base62.go index 64bf6e3cf..9f699dba2 100644 --- a/pkg/zutils/base62/base62.go +++ b/pkg/zutils/base62/base62.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 base62 diff --git a/pkg/zutils/base62/base62_test.go b/pkg/zutils/base62/base62_test.go index f5c035ad4..752a99338 100644 --- a/pkg/zutils/base62/base62_test.go +++ b/pkg/zutils/base62/base62_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 base62 diff --git a/pkg/zutils/env.go b/pkg/zutils/env.go index b6c18f0c3..ec5251a77 100644 --- a/pkg/zutils/env.go +++ b/pkg/zutils/env.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 zutils diff --git a/pkg/zutils/file.go b/pkg/zutils/file.go index 72f1cf3a7..33128bf7a 100644 --- a/pkg/zutils/file.go +++ b/pkg/zutils/file.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 zutils diff --git a/pkg/zutils/flatten/flatten.go b/pkg/zutils/flatten/flatten.go index 1b03f722d..78947b653 100644 --- a/pkg/zutils/flatten/flatten.go +++ b/pkg/zutils/flatten/flatten.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 flatten diff --git a/pkg/zutils/flatten/flatten_test.go b/pkg/zutils/flatten/flatten_test.go index 0c3e10a5d..e924f83e9 100644 --- a/pkg/zutils/flatten/flatten_test.go +++ b/pkg/zutils/flatten/flatten_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 flatten diff --git a/pkg/zutils/map.go b/pkg/zutils/map.go index 338f375fc..0f0fd38d8 100644 --- a/pkg/zutils/map.go +++ b/pkg/zutils/map.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 zutils diff --git a/pkg/zutils/strings.go b/pkg/zutils/strings.go index 657b17fab..2dd3c2a68 100644 --- a/pkg/zutils/strings.go +++ b/pkg/zutils/strings.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 zutils diff --git a/pkg/zutils/time.go b/pkg/zutils/time.go index dcb083bd3..1ef65f7b1 100644 --- a/pkg/zutils/time.go +++ b/pkg/zutils/time.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 zutils diff --git a/pkg/zutils/time_zone.go b/pkg/zutils/time_zone.go index 11180c1dd..247c93bdc 100644 --- a/pkg/zutils/time_zone.go +++ b/pkg/zutils/time_zone.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 zutils diff --git a/test/analyze_test.go b/test/analyze_test.go index 41922a937..f31b35a88 100644 --- a/test/analyze_test.go +++ b/test/analyze_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 test diff --git a/test/api_test.go b/test/api_test.go index 023e8f42c..eb11c3cd4 100644 --- a/test/api_test.go +++ b/test/api_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 test diff --git a/test/auth_test.go b/test/auth_test.go index c964443c0..e687a63b6 100644 --- a/test/auth_test.go +++ b/test/auth_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 test diff --git a/test/base_test.go b/test/base_test.go index e07e11301..ab8c28463 100644 --- a/test/base_test.go +++ b/test/base_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 test diff --git a/test/benchmark_test.go b/test/benchmark_test.go index e84e93022..8639e4bc3 100644 --- a/test/benchmark_test.go +++ b/test/benchmark_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 test diff --git a/test/es_test.go b/test/es_test.go index 59a6d6d46..ceeade5d7 100644 --- a/test/es_test.go +++ b/test/es_test.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 test diff --git a/test/init.go b/test/init.go index ecb956ac2..cf229fb9b 100644 --- a/test/init.go +++ b/test/init.go @@ -1,16 +1,17 @@ -// Copyright 2022 Zinc Labs Inc. and Contributors -// -// 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 2022 Zinc Labs Inc. and Contributors +* +* 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 test diff --git a/web/src/components/search/SyntaxGuide.vue b/web/src/components/search/SyntaxGuide.vue index 908e6ccdd..d7f0781ac 100644 --- a/web/src/components/search/SyntaxGuide.vue +++ b/web/src/components/search/SyntaxGuide.vue @@ -64,7 +64,8 @@