chore: update license headers and go version
diff --git a/notification-wecom/schema.go b/notification-wecom/schema.go
index 45b0811..593fc00 100644
--- a/notification-wecom/schema.go
+++ b/notification-wecom/schema.go
@@ -22,7 +22,7 @@
type WebhookReq struct {
MsgType string `json:"msgtype"`
Markdown struct {
- Text string `json:"content"`
+ Text string `json:"content"`
} `json:"markdown"`
}
@@ -30,9 +30,9 @@
return &WebhookReq{
MsgType: "markdown",
Markdown: struct {
- Text string `json:"content"`
+ Text string `json:"content"`
}{
- Text: content,
+ Text: content,
},
}
}
diff --git a/quick-links/Component.tsx b/quick-links/Component.tsx
index 505107d..d98079e 100644
--- a/quick-links/Component.tsx
+++ b/quick-links/Component.tsx
@@ -16,6 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
+
import { useTranslation } from 'react-i18next';
import useSWR from 'swr'
diff --git a/quick-links/i18n/translation.go b/quick-links/i18n/translation.go
index 69e74e8..aeb7605 100644
--- a/quick-links/i18n/translation.go
+++ b/quick-links/i18n/translation.go
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
package i18n
const (
diff --git a/quick-links/vite.config.ts b/quick-links/vite.config.ts
index c68454f..91dba13 100644
--- a/quick-links/vite.config.ts
+++ b/quick-links/vite.config.ts
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import ViteYaml from '@modyfi/vite-plugin-yaml';
diff --git a/search-algolia/go.mod b/search-algolia/go.mod
index 39e84bb..219d11c 100644
--- a/search-algolia/go.mod
+++ b/search-algolia/go.mod
@@ -1,6 +1,6 @@
module github.com/apache/answer-plugins/search-algolia
-go 1.22.0
+go 1.23.0
require (
github.com/algolia/algoliasearch-client-go/v4 v4.28.1