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

linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/answer-plugins.git


The following commit(s) were added to refs/heads/main by this push:
     new d5f8c11  chore: update license headers and go version
d5f8c11 is described below

commit d5f8c11738adb18dc91f0360269fe565a4757b51
Author: LinkinStars <[email protected]>
AuthorDate: Mon Oct 27 10:53:10 2025 +0800

    chore: update license headers and go version
---
 notification-wecom/schema.go    |  6 +++---
 quick-links/Component.tsx       |  1 +
 quick-links/i18n/translation.go | 19 +++++++++++++++++++
 quick-links/vite.config.ts      | 19 +++++++++++++++++++
 search-algolia/go.mod           |  2 +-
 5 files changed, 43 insertions(+), 4 deletions(-)

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 @@ package wecom
 type WebhookReq struct {
        MsgType  string `json:"msgtype"`
        Markdown struct {
-               Text  string `json:"content"`
+               Text string `json:"content"`
        } `json:"markdown"`
 }
 
@@ -30,9 +30,9 @@ func NewWebhookReq(content string) *WebhookReq {
        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

Reply via email to