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.git
The following commit(s) were added to refs/heads/main by this push:
new eb1b20ab chore(ci): Add ASF header
eb1b20ab is described below
commit eb1b20ab96cdd5fc579333cc7fcc866334266ea9
Author: LinkinStars <[email protected]>
AuthorDate: Tue Oct 28 15:26:32 2025 +0800
chore(ci): Add ASF header
---
cmd/wire_gen.go | 24 ++++++++++++++++++++--
docs/docs.go | 19 +++++++++++++++++
docs/swagger.yaml | 17 +++++++++++++++
internal/service/mock/siteinfo_repo_mock.go | 19 +++++++++++++++++
.../pages/Users/Notifications/components/index.ts | 19 +++++++++++++++++
5 files changed, 96 insertions(+), 2 deletions(-)
diff --git a/cmd/wire_gen.go b/cmd/wire_gen.go
index de2be196..bda555bc 100644
--- a/cmd/wire_gen.go
+++ b/cmd/wire_gen.go
@@ -1,8 +1,28 @@
+//go:build !wireinject
+// +build !wireinject
+
+/*
+ * 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.
+ */
+
// Code generated by Wire. DO NOT EDIT.
//go:generate go run github.com/google/wire/cmd/wire
-//go:build !wireinject
-// +build !wireinject
package answercmd
diff --git a/docs/docs.go b/docs/docs.go
index ec062df2..263e6775 100644
--- a/docs/docs.go
+++ b/docs/docs.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 docs Code generated by swaggo/swag. DO NOT EDIT
package docs
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index a01074d1..9cdf248e 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -1,3 +1,20 @@
+# 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.
+
basePath: /
definitions:
constant.NotificationChannelKey:
diff --git a/internal/service/mock/siteinfo_repo_mock.go
b/internal/service/mock/siteinfo_repo_mock.go
index 0a1b31e8..a98ceb68 100644
--- a/internal/service/mock/siteinfo_repo_mock.go
+++ b/internal/service/mock/siteinfo_repo_mock.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.
+ */
+
// Code generated by MockGen. DO NOT EDIT.
// Source: ./siteinfo_service.go
//
diff --git a/ui/src/pages/Users/Notifications/components/index.ts
b/ui/src/pages/Users/Notifications/components/index.ts
index f8183485..48684de8 100644
--- a/ui/src/pages/Users/Notifications/components/index.ts
+++ b/ui/src/pages/Users/Notifications/components/index.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 Inbox from './Inbox';
import Achievements from './Achievements';