Skip to content

Commit

Permalink
refactor(rename): rename incubator-answer
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkinStars committed Jan 7, 2025
1 parent 88f94cd commit cf94ebc
Show file tree
Hide file tree
Showing 169 changed files with 477 additions and 491 deletions.
2 changes: 1 addition & 1 deletion .vaunt/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 0.0.1
achievements:
- achievement:
name: Plugin Maestro
icon: https://raw.githubusercontent.com/apache/incubator-answer-plugins/main/.vaunt/plugin.png
icon: https://raw.githubusercontent.com/apache/answer-plugins/main/.vaunt/plugin.png
description: Awarded for crafting a plugin, magical!
triggers:
- trigger:
Expand Down
50 changes: 25 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
# Apache Answer Official Plugins

Apache Answer Official Plugins are built to enhance the feature of [Answer](https://github.com/apache/incubator-answer).
Apache Answer Official Plugins are built to enhance the feature of [Answer](https://github.com/apache/answer).

[![LICENSE](https://img.shields.io/github/license/apache/incubator-answer)](https://github.com/apache/incubator-answer/blob/main/LICENSE)
[![LICENSE](https://img.shields.io/github/license/apache/answer)](https://github.com/apache/answer/blob/main/LICENSE)
[![Language](https://img.shields.io/badge/language-go-blue.svg)](https://golang.org/)
[![Language](https://img.shields.io/badge/language-react-blue.svg)](https://reactjs.org/)
[![Go Report Card](https://goreportcard.com/badge/github.com/apache/incubator-answer)](https://goreportcard.com/report/github.com/apache/incubator-answer)
[![Go Report Card](https://goreportcard.com/badge/github.com/apache/answer)](https://goreportcard.com/report/github.com/apache/answer)
[![Discord](https://img.shields.io/badge/discord-chat-5865f2?logo=discord&logoColor=f5f5f5)](https://discord.gg/Jm7Y4cbUej)

## Types of plugin

Our plugin is under development and the interface definition of the plugin can be viewed at [this link](https://github.com/apache/incubator-answer/tree/main/plugin).
Our plugin is under development and the interface definition of the plugin can be viewed at [this link](https://github.com/apache/answer/tree/main/plugin).

### Connector

The Connector plugin helps us to implement third-party login functionality. For example: Google or GitHub OAuth login.

- [x] [OAuth2 Basic](https://github.com/apache/incubator-answer-plugins/tree/main/connector-basic)
- [x] [GitHub](https://github.com/apache/incubator-answer-plugins/tree/main/connector-github)
- [x] [Google](https://github.com/apache/incubator-answer-plugins/tree/main/connector-google)
- [x] [Dingtalk](https://github.com/apache/incubator-answer-plugins/tree/main/connector-dingtalk)
- [x] [OAuth2 Basic](https://github.com/apache/answer-plugins/tree/main/connector-basic)
- [x] [GitHub](https://github.com/apache/answer-plugins/tree/main/connector-github)
- [x] [Google](https://github.com/apache/answer-plugins/tree/main/connector-google)
- [x] [Dingtalk](https://github.com/apache/answer-plugins/tree/main/connector-dingtalk)

### Storage

The Storage plugin helps us to upload files to third-party storage. For example: Aliyun OSS or AWS S3.

- [x] [Aliyun OSS](https://github.com/apache/incubator-answer-plugins/tree/main/storage-aliyunoss)
- [x] [Tencentyun COS](https://github.com/apache/incubator-answer-plugins/tree/main/storage-tencentyuncos)
- [x] [S3](https://github.com/apache/incubator-answer-plugins/tree/main/storage-s3)
- [x] [Aliyun OSS](https://github.com/apache/answer-plugins/tree/main/storage-aliyunoss)
- [x] [Tencentyun COS](https://github.com/apache/answer-plugins/tree/main/storage-tencentyuncos)
- [x] [S3](https://github.com/apache/answer-plugins/tree/main/storage-s3)

### Cache

Using the Cache plugin allows you to store cached data in a different location. For example: Redis or Memcached.

- [x] [Redis](https://github.com/apache/incubator-answer-plugins/tree/main/cache-redis)
- [x] [Redis](https://github.com/apache/answer-plugins/tree/main/cache-redis)

### Search

Support using search plugin to speed up the search of question answers. For example: Elasticsearch or Meilisearch.

- [x] [Elasticsearch](https://github.com/apache/incubator-answer-plugins/tree/main/search-elasticsearch)
- [x] [Meilisearch](https://github.com/apache/incubator-answer-plugins/tree/main/search-meilisearch)
- [x] [Algolia](https://github.com/apache/incubator-answer-plugins/tree/main/search-algolia)
- [x] [Elasticsearch](https://github.com/apache/answer-plugins/tree/main/search-elasticsearch)
- [x] [Meilisearch](https://github.com/apache/answer-plugins/tree/main/search-meilisearch)
- [x] [Algolia](https://github.com/apache/answer-plugins/tree/main/search-algolia)

### User Center

Using the third-party user system to manage users. For example: WeCom

- [x] [WeCom](https://github.com/apache/incubator-answer-plugins/tree/main/user-center-wecom)
- [x] [WeCom](https://github.com/apache/answer-plugins/tree/main/user-center-wecom)

### Notification

The Notification plugin helps us to send messages to third-party notification systems. For example: Slack.

- [x] [Slack](https://github.com/apache/incubator-answer-plugins/tree/main/notification-slack)
- [x] [Lark](https://github.com/apache/incubator-answer-plugins/tree/main/notification-lark)
- [x] [Ding talk](https://github.com/apache/incubator-answer-plugins/tree/main/notification-dingtalk)
- [x] [WeCom](https://github.com/apache/incubator-answer-plugins/tree/main/notification-wecom)
- [x] [Slack](https://github.com/apache/answer-plugins/tree/main/notification-slack)
- [x] [Lark](https://github.com/apache/answer-plugins/tree/main/notification-lark)
- [x] [Ding talk](https://github.com/apache/answer-plugins/tree/main/notification-dingtalk)
- [x] [WeCom](https://github.com/apache/answer-plugins/tree/main/notification-wecom)

### Route

Expand All @@ -66,16 +66,16 @@ Support for custom routing.

Support for extending the markdown editor's toolbar.

- [x] [chart](https://github.com/apache/incubator-answer-plugins/tree/main/editor-chart)
- [x] [formula](https://github.com/apache/incubator-answer-plugins/tree/main/editor-formula)
- [x] [embed](https://github.com/apache/incubator-answer-plugins/tree/main/editor-embed)
- [x] [chart](https://github.com/apache/answer-plugins/tree/main/editor-chart)
- [x] [formula](https://github.com/apache/answer-plugins/tree/main/editor-formula)
- [x] [embed](https://github.com/apache/answer-plugins/tree/main/editor-embed)

### Reviewer

Support for customizing the reviewer.

- [x] [default](https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-basic)
- [x] [akismet](https://github.com/apache/incubator-answer-plugins/tree/main/reviewer-akismet)
- [x] [default](https://github.com/apache/answer-plugins/tree/main/reviewer-basic)
- [x] [akismet](https://github.com/apache/answer-plugins/tree/main/reviewer-akismet)

### Filter (coming soon)

Expand Down
2 changes: 1 addition & 1 deletion cache-redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

### Build
```bash
./answer build --with github.com/apache/incubator-answer-plugins/cache-redis
./answer build --with github.com/apache/answer-plugins/cache-redis
```

### Configuration
Expand Down
6 changes: 3 additions & 3 deletions cache-redis/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/apache/incubator-answer-plugins/cache-redis
module github.com/apache/answer-plugins/cache-redis

go 1.22.0

require (
github.com/apache/incubator-answer v1.4.1
github.com/apache/incubator-answer-plugins/util v1.0.2
github.com/apache/answer v1.4.1
github.com/apache/answer-plugins/util v1.0.2
github.com/go-redis/redis/v8 v8.11.5
)

Expand Down
8 changes: 4 additions & 4 deletions cache-redis/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU
github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU=
github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM=
github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c=
github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8=
github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA=
github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo=
github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c=
github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8=
github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA=
github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4=
github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg=
Expand Down
2 changes: 1 addition & 1 deletion cache-redis/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ slug_name: redis_cache
type: cache
version: 1.2.9
author: answerdev
link: https://github.com/apache/incubator-answer-plugins/tree/main/cache-redis
link: https://github.com/apache/answer-plugins/tree/main/cache-redis
8 changes: 3 additions & 5 deletions cache-redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ import (
_ "embed"
"encoding/json"
"fmt"
"github.com/apache/incubator-answer-plugins/util"
"github.com/apache/answer-plugins/util"
"time"

"github.com/apache/incubator-answer/plugin"
"github.com/go-redis/redis/v8"

"github.com/apache/incubator-answer-plugins/cache-redis/i18n"
"github.com/apache/answer-plugins/cache-redis/i18n"
"github.com/apache/answer/plugin"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions captcha-basic/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ package basic

import (
"embed"
"github.com/apache/incubator-answer-plugins/util"
"github.com/apache/answer-plugins/util"
"image/color"

"github.com/apache/incubator-answer-plugins/captcha-basic/i18n"
"github.com/apache/incubator-answer/plugin"
"github.com/apache/answer-plugins/captcha-basic/i18n"
"github.com/apache/answer/plugin"
"github.com/mojocn/base64Captcha"
)

Expand Down
6 changes: 3 additions & 3 deletions captcha-basic/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/apache/incubator-answer-plugins/captcha-basic
module github.com/apache/answer-plugins/captcha-basic

go 1.22.0

require (
github.com/apache/incubator-answer v1.4.1
github.com/apache/incubator-answer-plugins/util v1.0.2
github.com/apache/answer v1.4.1
github.com/apache/answer-plugins/util v1.0.2
github.com/mojocn/base64Captcha v1.3.6
)

Expand Down
8 changes: 4 additions & 4 deletions captcha-basic/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU
github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU=
github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM=
github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c=
github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8=
github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA=
github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo=
github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c=
github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8=
github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA=
github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4=
github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg=
Expand Down
2 changes: 1 addition & 1 deletion captcha-basic/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ slug_name: basic_captcha
type: captcha
version: 1.0.4
author: answerdev
link: https://github.com/apache/incubator-answer-plugins/tree/main/captcha-basic
link: https://github.com/apache/answer-plugins/tree/main/captcha-basic
6 changes: 3 additions & 3 deletions captcha-google-v2/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/apache/incubator-answer-plugins/captcha-google-v2
module github.com/apache/answer-plugins/captcha-google-v2

go 1.22.0

require (
github.com/apache/incubator-answer v1.4.1
github.com/apache/incubator-answer-plugins/util v1.0.2
github.com/apache/answer v1.4.1
github.com/apache/answer-plugins/util v1.0.2
github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f
)

Expand Down
8 changes: 4 additions & 4 deletions captcha-google-v2/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU
github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU=
github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM=
github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c=
github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8=
github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA=
github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo=
github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c=
github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8=
github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA=
github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4=
github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg=
Expand Down
2 changes: 1 addition & 1 deletion captcha-google-v2/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ slug_name: google_v2_captcha
type: captcha
version: 1.0.4
author: answerdev
link: https://github.com/apache/incubator-answer-plugins/tree/main/captcha-google-v2
link: https://github.com/apache/answer-plugins/tree/main/captcha-google-v2
6 changes: 3 additions & 3 deletions captcha-google-v2/recaptcha.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ package recaptcha

import (
"embed"
"github.com/apache/incubator-answer-plugins/util"
"github.com/apache/answer-plugins/util"
"io"
"net/http"
"time"

"github.com/apache/incubator-answer-plugins/captcha-google-v2/i18n"
"github.com/apache/incubator-answer/plugin"
"github.com/apache/answer-plugins/captcha-google-v2/i18n"
"github.com/apache/answer/plugin"

"encoding/json"

Expand Down
2 changes: 1 addition & 1 deletion cdn-aliyun/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

### Build
```bash
./answer build --with github.com/apache/incubator-answer-plugins/cdn-aliyun
./answer build --with github.com/apache/answer-plugins/cdn-aliyun
```

### Configuration
Expand Down
8 changes: 4 additions & 4 deletions cdn-aliyun/aliyun.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ import (
"encoding/json"
"fmt"
"github.com/aliyun/aliyun-oss-go-sdk/oss"
"github.com/apache/incubator-answer-plugins/cdn-aliyun/i18n"
"github.com/apache/incubator-answer-plugins/util"
"github.com/apache/incubator-answer/plugin"
"github.com/apache/incubator-answer/ui"
"github.com/apache/answer-plugins/cdn-aliyun/i18n"
"github.com/apache/answer-plugins/util"
"github.com/apache/answer/plugin"
"github.com/apache/answer/ui"
"github.com/segmentfault/pacman/log"
"io"
"io/fs"
Expand Down
6 changes: 3 additions & 3 deletions cdn-aliyun/go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module github.com/apache/incubator-answer-plugins/cdn-aliyun
module github.com/apache/answer-plugins/cdn-aliyun

go 1.22.0

require (
github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible
github.com/apache/incubator-answer v1.4.1
github.com/apache/incubator-answer-plugins/util v1.0.2
github.com/apache/answer v1.4.1
github.com/apache/answer-plugins/util v1.0.2
github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f
)

Expand Down
8 changes: 4 additions & 4 deletions cdn-aliyun/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2Q
github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM=
github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible h1:8psS8a+wKfiLt1iVDX79F7Y6wUM49Lcha2FMXt4UM8g=
github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8=
github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c=
github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8=
github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA=
github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo=
github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c=
github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8=
github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA=
github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4=
github.com/bytedance/sonic v1.12.2 h1:oaMFuRTpMHYLpCntGca65YWt5ny+wAceDERTkT2L9lg=
Expand Down
2 changes: 1 addition & 1 deletion cdn-aliyun/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ slug_name: aliyun_cdn
type: cdn
version: 1.0.2
author: answerdev
link: https://github.com/apache/incubator-answer-plugins/tree/main/cdn-aliyun
link: https://github.com/apache/answer-plugins/tree/main/cdn-aliyun
6 changes: 3 additions & 3 deletions cdn-s3/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/apache/incubator-answer-plugins/cdn-s3
module github.com/apache/answer-plugins/cdn-s3

go 1.22.0

require (
github.com/apache/incubator-answer v1.4.1
github.com/apache/incubator-answer-plugins/util v1.0.2
github.com/apache/answer v1.4.1
github.com/apache/answer-plugins/util v1.0.2
github.com/aws/aws-sdk-go v1.44.314
github.com/segmentfault/pacman v1.0.5-0.20230822083413-c0075a2d401f
)
Expand Down
8 changes: 4 additions & 4 deletions cdn-s3/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU
github.com/BurntSushi/toml v1.0.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/LinkinStars/go-i18n/v2 v2.2.2 h1:ZfjpzbW13dv6btv3RALKZkpN9A+7K1JA//2QcNeWaxU=
github.com/LinkinStars/go-i18n/v2 v2.2.2/go.mod h1:hLglSJ4/3M0Y7ZVcoEJI+OwqkglHCA32DdjuJJR2LbM=
github.com/apache/incubator-answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c=
github.com/apache/incubator-answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8=
github.com/apache/incubator-answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA=
github.com/apache/incubator-answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo=
github.com/apache/answer v1.4.1 h1:O7BJyhLmc0JxYgjBz/vkapN2vtI0ylFx+PdOzqROM0c=
github.com/apache/answer v1.4.1/go.mod h1:L0GTnyO7ykalUVJkApwtbWGLfsknwSyTKdJG5V4x/d8=
github.com/apache/answer-plugins/util v1.0.2 h1:PontocVaiEm+oTj+4aDonwWDZnxywUeHsaTwlQgclfA=
github.com/apache/answer-plugins/util v1.0.2/go.mod h1:KPMSiM4ec4uEl2njaGINYuSl6zVmHdvPB2nHUxVcQDo=
github.com/aws/aws-sdk-go v1.44.314 h1:d/5Jyk/Fb+PBd/4nzQg0JuC2W4A0knrDIzBgK/ggAow=
github.com/aws/aws-sdk-go v1.44.314/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
Expand Down
2 changes: 1 addition & 1 deletion cdn-s3/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ slug_name: s3_cdn
type: cdn
version: 1.0.2
author: answerdev
link: https://github.com/apache/incubator-answer-plugins/tree/main/cdn-s3
link: https://github.com/apache/answer-plugins/tree/main/cdn-s3
8 changes: 4 additions & 4 deletions cdn-s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
"github.com/apache/incubator-answer-plugins/cdn-s3/i18n"
"github.com/apache/incubator-answer-plugins/util"
"github.com/apache/incubator-answer/ui"
"github.com/apache/answer-plugins/cdn-s3/i18n"
"github.com/apache/answer-plugins/util"
"github.com/apache/answer/ui"
"github.com/segmentfault/pacman/log"
"io"
"io/fs"
Expand All @@ -38,7 +38,7 @@ import (
"strings"
"time"

"github.com/apache/incubator-answer/plugin"
"github.com/apache/answer/plugin"
)

var (
Expand Down
Loading

0 comments on commit cf94ebc

Please sign in to comment.