This is an automated email from the ASF dual-hosted git repository.

chunshao pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-horaedb-client-go.git


The following commit(s) were added to refs/heads/main by this push:
     new e6036d6  chore: update license header and do the rename (#49)
e6036d6 is described below

commit e6036d6a246a4d9a6aebf681a8d197083d87421a
Author: chunshao.rcs <[email protected]>
AuthorDate: Wed Dec 27 15:21:41 2023 +0800

    chore: update license header and do the rename (#49)
---
 .asf.yaml                | 50 ++++++++++++++++++++++++++++++++++++++++++++++++
 .github/workflows/CI.yml | 27 ++++++++++++++------------
 .golangci.yml            | 25 +++++++++++++-----------
 Makefile                 |  7 ++-----
 README.md                | 12 ++++++------
 examples/read_write.go   | 29 +++++++++++++++-------------
 go.mod                   |  2 +-
 horaedb/client.go        | 25 +++++++++++++-----------
 horaedb/client_impl.go   | 25 +++++++++++++-----------
 horaedb/code.go          | 25 +++++++++++++-----------
 horaedb/options.go       | 25 +++++++++++++-----------
 horaedb/point.go         | 25 +++++++++++++-----------
 horaedb/route.go         | 25 +++++++++++++-----------
 horaedb/rpc.go           | 25 +++++++++++++-----------
 horaedb/types.go         | 25 +++++++++++++-----------
 horaedb/utils.go         | 25 +++++++++++++-----------
 horaedb/value.go         | 25 +++++++++++++-----------
 licenserc.toml           | 31 +++++++++++++++---------------
 revive.toml              | 43 -----------------------------------------
 test/base_test.go        | 27 ++++++++++++++------------
 test/cluster_test.go     | 27 ++++++++++++++------------
 test/point_test.go       | 27 ++++++++++++++------------
 test/route_test.go       | 27 ++++++++++++++------------
 23 files changed, 319 insertions(+), 265 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..9650806
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,50 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# For more information, see 
https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features.
+
+github:
+  description: >-
+    Golang implementation of HoraeDB client.
+  homepage: https://horaedb.apache.org
+  labels:
+    - golang
+    - sql
+    - database
+    - distributed-database
+    - cloud-native
+    - tsdb
+    - timeseries-database
+    - timeseries-analysis
+    - iot-database
+    - horaedb
+  enabled_merge_buttons:
+    squash:  true
+    merge:   false
+    rebase:  true
+  protected_branches:
+    main:
+      required_pull_request_reviews:
+        dismiss_stale_reviews: true
+        required_approving_review_count: 1
+
+notifications:
+  commits:      [email protected]
+  issues:       [email protected]
+  pullrequests: [email protected]
+  jobs:         [email protected]
+  discussions:  [email protected]
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 9b3304d..7e4c173 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -1,16 +1,19 @@
-# Copyright 2022 The HoraeDB Authors
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 name: CI
 
@@ -35,7 +38,7 @@ jobs:
       - uses: actions/checkout@v3
       - uses: actions/setup-go@v3
         with:
-          go-version: 1.17
+          go-version: 1.18
       - name: Install tools
         run: |
           make install-tools
diff --git a/.golangci.yml b/.golangci.yml
index 27a71bf..749635f 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,16 +1,19 @@
-# Copyright 2022 The HoraeDB Authors
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 run:
   deadline: 5m
diff --git a/Makefile b/Makefile
index 58ca699..2bd124f 100644
--- a/Makefile
+++ b/Makefile
@@ -7,16 +7,13 @@ SHELL := env PATH='$(PATH)' GOBIN='$(GO_TOOLS_BIN_PATH)' 
$(shell which bash)
 install-tools:
        @mkdir -p $(GO_TOOLS_BIN_PATH)
        @(which golangci-lint && golangci-lint version | grep '1.51') 
>/dev/null 2>&1 || curl -sSfL 
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh 
-s -- -b $(GO_TOOLS_BIN_PATH) v1.51.2
-       @go install github.com/mgechev/[email protected]
-       @go install golang.org/x/tools/cmd/goimports@latest
 
-PKG := github.com/CeresDB/horaedb-client-go
+PKG := github.com/apache/horaedb-client-go
 PACKAGES := $(shell go list ./... | tail -n +2)
 PACKAGE_DIRECTORIES := $(subst $(PKG)/,,$(PACKAGES))
 
 lint:
-       golangci-lint run -v
-       revive -formatter friendly -config revive.toml ./...
+       golangci-lint run -v --config .golangci.yml
 
 check-license:
        docker run --rm -v $(shell pwd):/github/workspace 
ghcr.io/korandoru/hawkeye-native:v3 check
diff --git a/README.md b/README.md
index 8b23573..f658b9c 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,12 @@
-# [HoraeDB](https://github.com/CeresDB/horaedb) Golang Client
+# HoraeDB Golang Client
 
-[![CI](https://github.com/CeresDB/horaedb-client-go/actions/workflows/CI.yml/badge.svg)](https://github.com/CeresDB/horaedb-client-go/actions/workflows/CI.yml)
-[![Go 
Reference](https://pkg.go.dev/badge/github.com/CeresDB/horaedb-client-go.svg)](https://pkg.go.dev/github.com/CeresDB/horaedb-client-go)
-[![Go Report 
Card](https://goreportcard.com/badge/github.com/CeresDB/horaedb-client-go)](https://goreportcard.com/report/github.com/CeresDB/horaedb-client-go)
+[![CI](https://github.com/apache/incubator-horaedb-client-go/actions/workflows/CI.yml/badge.svg)](https://github.com/apache/incubator-horaedb-client-go/actions/workflows/CI.yml)
+[![Go 
Reference](https://pkg.go.dev/badge/github.com/apache/incubator-horaedb-client-go.svg)](https://pkg.go.dev/github.com/apache/incubator-horaedb-client-go)
+[![Go Report 
Card](https://goreportcard.com/badge/github.com/apache/incubator-horaedb-client-go)](https://goreportcard.com/report/github.com/apache/incubator-horaedb-client-go)
 
 ## Introduction
 
-Golang client for [HoraeDB](https://github.com/CeresDB/horaedb).
+Golang client for [HoraeDB](https://github.com/apache/incubator-horaedb).
 
 ## Support features
 - DDL, such as create/alter table
@@ -14,7 +14,7 @@ Golang client for 
[HoraeDB](https://github.com/CeresDB/horaedb).
 
 ## How To Use
 
-Please refer [Golang SDK docs](https://ceresdb.github.io/docs/en/sdk/go.html).
+Please refer [Golang SDK docs](https://horaedb.apache.org/en/sdk/go.html).
 
 ## License
 
diff --git a/examples/read_write.go b/examples/read_write.go
index 0a89fd5..7b06964 100644
--- a/examples/read_write.go
+++ b/examples/read_write.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES 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
@@ -22,7 +25,7 @@ import (
        "os"
        "time"
 
-       "github.com/CeresDB/horaedb-client-go/horaedb"
+       "github.com/apache/horaedb-client-go/horaedb"
 )
 
 var endpoint = "127.0.0.1:8831"
@@ -135,7 +138,7 @@ func main() {
                horaedb.EnableLoggerDebug(true),
        )
        if err != nil {
-               fmt.Printf("new ceresdb client fail, err: %v\n", err)
+               fmt.Printf("new client fail, err: %v\n", err)
                return
        }
 
diff --git a/go.mod b/go.mod
index f790c26..04dc549 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/CeresDB/horaedb-client-go
+module github.com/apache/horaedb-client-go
 
 go 1.17
 
diff --git a/horaedb/client.go b/horaedb/client.go
index f8e527e..cf25385 100644
--- a/horaedb/client.go
+++ b/horaedb/client.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package horaedb
diff --git a/horaedb/client_impl.go b/horaedb/client_impl.go
index 416c077..86eb621 100644
--- a/horaedb/client_impl.go
+++ b/horaedb/client_impl.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package horaedb
diff --git a/horaedb/code.go b/horaedb/code.go
index 9dcecac..04f4fe6 100644
--- a/horaedb/code.go
+++ b/horaedb/code.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package horaedb
diff --git a/horaedb/options.go b/horaedb/options.go
index 7cfd267..d2ccfe4 100644
--- a/horaedb/options.go
+++ b/horaedb/options.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package horaedb
diff --git a/horaedb/point.go b/horaedb/point.go
index db81924..5bb7c1d 100644
--- a/horaedb/point.go
+++ b/horaedb/point.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package horaedb
diff --git a/horaedb/route.go b/horaedb/route.go
index abd7898..cda2c09 100644
--- a/horaedb/route.go
+++ b/horaedb/route.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package horaedb
diff --git a/horaedb/rpc.go b/horaedb/rpc.go
index 27283ea..610cbc0 100644
--- a/horaedb/rpc.go
+++ b/horaedb/rpc.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package horaedb
diff --git a/horaedb/types.go b/horaedb/types.go
index 22a70af..79da4ad 100644
--- a/horaedb/types.go
+++ b/horaedb/types.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package horaedb
diff --git a/horaedb/utils.go b/horaedb/utils.go
index 1304be5..75e380d 100644
--- a/horaedb/utils.go
+++ b/horaedb/utils.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package horaedb
diff --git a/horaedb/value.go b/horaedb/value.go
index ae9a989..ef8695c 100644
--- a/horaedb/value.go
+++ b/horaedb/value.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package horaedb
diff --git a/licenserc.toml b/licenserc.toml
index c01b9f2..af3e8ed 100644
--- a/licenserc.toml
+++ b/licenserc.toml
@@ -1,19 +1,18 @@
-# Copyright 2022 The HoraeDB Authors
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-headerPath = "Apache-2.0.txt"
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
-[properties]
-inceptionYear = 2022
-copyrightOwner = "The HoraeDB Authors"
+headerPath = "Apache-2.0-ASF.txt"
diff --git a/revive.toml b/revive.toml
deleted file mode 100644
index a1edc27..0000000
--- a/revive.toml
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2022 The HoraeDB Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-ignoreGeneratedHeader = true
-severity = "warning"
-confidence = 0.8
-errorCode = 1
-warningCode = 1
-
-[rule.blank-imports]
-[rule.context-as-argument]
-[rule.context-keys-type]
-[rule.dot-imports]
-[rule.error-return]
-[rule.error-strings]
-[rule.error-naming]
-[rule.if-return]
-[rule.increment-decrement]
-[rule.var-naming]
-[rule.var-declaration]
-# [rule.package-comments]
-[rule.range]
-[rule.receiver-naming]
-[rule.time-naming]
-[rule.unexported-return]
-[rule.indent-error-flow]
-[rule.errorf]
-[rule.empty-block]
-[rule.superfluous-else]
-[rule.unused-parameter]
-[rule.unreachable-code]
-[rule.redefines-builtin-id]
diff --git a/test/base_test.go b/test/base_test.go
index 20ca234..0a8014f 100644
--- a/test/base_test.go
+++ b/test/base_test.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES 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
@@ -23,7 +26,7 @@ import (
        "testing"
        "time"
 
-       "github.com/CeresDB/horaedb-client-go/horaedb"
+       "github.com/apache/horaedb-client-go/horaedb"
        "github.com/stretchr/testify/require"
 )
 
diff --git a/test/cluster_test.go b/test/cluster_test.go
index f37802b..b4288db 100644
--- a/test/cluster_test.go
+++ b/test/cluster_test.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES 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
@@ -21,7 +24,7 @@ import (
        "os"
        "testing"
 
-       "github.com/CeresDB/horaedb-client-go/horaedb"
+       "github.com/apache/horaedb-client-go/horaedb"
        "github.com/stretchr/testify/require"
 )
 
diff --git a/test/point_test.go b/test/point_test.go
index 9f8068d..bcdf9ac 100644
--- a/test/point_test.go
+++ b/test/point_test.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES 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
@@ -19,7 +22,7 @@ package test
 import (
        "testing"
 
-       "github.com/CeresDB/horaedb-client-go/horaedb"
+       "github.com/apache/horaedb-client-go/horaedb"
        "github.com/stretchr/testify/require"
 )
 
diff --git a/test/route_test.go b/test/route_test.go
index 6ce30d5..0898cf9 100644
--- a/test/route_test.go
+++ b/test/route_test.go
@@ -1,17 +1,20 @@
 /*
- * Copyright 2022 The HoraeDB Authors
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES 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
@@ -20,7 +23,7 @@ import (
        "testing"
        "time"
 
-       "github.com/CeresDB/horaedb-client-go/horaedb"
+       "github.com/apache/horaedb-client-go/horaedb"
        "github.com/stretchr/testify/require"
 )
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to