Skip to content

Commit 400e957

Browse files
authored
refactor: Change base module to alibaba/sentinel-golang (#54)
1 parent 4272db3 commit 400e957

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+82
-82
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- Thanks for submitting a pull request! Here are some tips for you:
2-
1. Please make sure you have read and understood the contributing guidelines: https://github.com/sentinel-group/blob/master/CONTRIBUTING.md
2+
1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/blob/master/CONTRIBUTING.md
33
2. Please make sure the PR has a corresponding issue.
44
-->
55

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ The final commit message should be clear and concise.
4646

4747
### Open an issue / PR
4848

49-
We use [GitHub Issues](https://github.com/sentinel-group/sentinel-golang/issues) and [Pull Requests](https://github.com/sentinel-group/sentinel-golang/pulls) for trackers.
49+
We use [GitHub Issues](https://github.com/alibaba/sentinel-golang/issues) and [Pull Requests](https://github.com/alibaba/sentinel-golang/pulls) for trackers.
5050

5151
If you find a typo in document, find a bug in code, or want new features, or want to give suggestions,
52-
you can [open an issue on GitHub](https://github.com/sentinel-group/sentinel-golang/issues/new) to report it.
52+
you can [open an issue on GitHub](https://github.com/alibaba/sentinel-golang/issues/new) to report it.
5353
Please follow the guideline message in the issue template.
5454

5555
If you want to contribute, please follow the [contribution workflow](#github-workflow) and create a new pull request.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ See the [中文文档](https://github.com/alibaba/sentinel-golang/wiki/介绍) f
2424
See the [Wiki](https://github.com/alibaba/sentinel-golang/wiki) for full documentation, examples, blog posts, and other information.
2525

2626
If you are using Sentinel, please [**leave a comment here**](https://github.com/alibaba/Sentinel/issues/18) to tell us your scenario to make Sentinel better.
27-
It's also encouraged to add the link of your blog post, tutorial, demo or customized components to [**Awesome Sentinel**](https://github.com/sentinel-group/sentinel-awesome).
27+
It's also encouraged to add the link of your blog post, tutorial, demo or customized components to [**Awesome Sentinel**](https://github.com/alibaba/sentinel-awesome).
2828

2929
## Bugs and Feedback
3030

31-
For bug report, questions and discussions please submit [GitHub Issues](https://github.com/sentinel-group/sentinel-golang/issues).
31+
For bug report, questions and discussions please submit [GitHub Issues](https://github.com/alibaba/sentinel-golang/issues).
3232

3333
## Contributing
3434

3535
Contributions are always welcomed! Please see [CONTRIBUTING](./CONTRIBUTING.md) for detailed guidelines.
3636

37-
You can start with the issues labeled with [`good first issue`](https://github.com/sentinel-group/sentinel-golang/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).
37+
You can start with the issues labeled with [`good first issue`](https://github.com/alibaba/sentinel-golang/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).

api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package api
22

33
import (
4-
"github.com/sentinel-group/sentinel-golang/core/base"
4+
"github.com/alibaba/sentinel-golang/core/base"
55
)
66

77
// Entry is the basic API of Sentinel.

api/api_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package api
22

33
import (
4-
"github.com/sentinel-group/sentinel-golang/core/base"
4+
"github.com/alibaba/sentinel-golang/core/base"
55
"github.com/stretchr/testify/assert"
66
"github.com/stretchr/testify/mock"
77
"testing"

api/init.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package api
22

33
import (
44
"fmt"
5-
"github.com/sentinel-group/sentinel-golang/core/config"
6-
"github.com/sentinel-group/sentinel-golang/core/log/metric"
7-
"github.com/sentinel-group/sentinel-golang/core/system"
8-
"github.com/sentinel-group/sentinel-golang/logging"
5+
"github.com/alibaba/sentinel-golang/core/config"
6+
"github.com/alibaba/sentinel-golang/core/log/metric"
7+
"github.com/alibaba/sentinel-golang/core/system"
8+
"github.com/alibaba/sentinel-golang/logging"
99
)
1010

1111
// InitDefault initializes Sentinel using the configuration from system

api/option.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package api
22

33
import (
4-
"github.com/sentinel-group/sentinel-golang/core/base"
4+
"github.com/alibaba/sentinel-golang/core/base"
55
)
66

77
// Options represents the options of a Sentinel resource entry.

api/slot_chain.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package api
22

33
import (
4-
"github.com/sentinel-group/sentinel-golang/core/base"
5-
"github.com/sentinel-group/sentinel-golang/core/flow"
6-
"github.com/sentinel-group/sentinel-golang/core/log"
7-
"github.com/sentinel-group/sentinel-golang/core/stat"
8-
"github.com/sentinel-group/sentinel-golang/core/system"
4+
"github.com/alibaba/sentinel-golang/core/base"
5+
"github.com/alibaba/sentinel-golang/core/flow"
6+
"github.com/alibaba/sentinel-golang/core/log"
7+
"github.com/alibaba/sentinel-golang/core/stat"
8+
"github.com/alibaba/sentinel-golang/core/system"
99
)
1010

1111
var globalSlotChain = BuildDefaultSlotChain()

core/base/metric_item.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strconv"
77
"strings"
88

9-
"github.com/sentinel-group/sentinel-golang/util"
9+
"github.com/alibaba/sentinel-golang/util"
1010
)
1111

1212
const metricPartSeparator = "|"

core/base/slot_chain.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package base
22

33
import (
4-
"github.com/sentinel-group/sentinel-golang/logging"
5-
"github.com/sentinel-group/sentinel-golang/util"
4+
"github.com/alibaba/sentinel-golang/logging"
5+
"github.com/alibaba/sentinel-golang/util"
66
"sync"
77
)
88

0 commit comments

Comments
 (0)