Compare commits

...

5 Commits

Author SHA1 Message Date
dependabot[bot]
6b7d30cc28 Bump github.com/heroku/x from 0.0.25 to 0.0.28
Bumps [github.com/heroku/x](https://github.com/heroku/x) from 0.0.25 to 0.0.28.
- [Release notes](https://github.com/heroku/x/releases)
- [Commits](https://github.com/heroku/x/compare/v0.0.25...v0.0.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 01:40:36 +00:00
zu1k
066a449622 Merge branch 'master' of github.com:zu1k/proxypool 2020-09-07 20:54:40 +08:00
zu1k
ed29c9ba2a fix surge proxies bug 2020-09-07 20:53:54 +08:00
zu1k
a8df5fd042 Merge pull request #14 from zu1k/dependabot/github_actions/docker/build-push-action-v2
Bump docker/build-push-action from v1.1.0 to v2
2020-09-07 15:52:32 +08:00
dependabot[bot]
9dafaefa4e Bump docker/build-push-action from v1.1.0 to v2
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from v1.1.0 to v2.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Changelog](85d408708d/CHANGELOG.md)
- [Commits](https://github.com/docker/build-push-action/compare/v1.1.0...85d408708d8c09e8991e7b18899e77d7aee89287)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 06:36:10 +00:00
4 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v2.3.2
- name: Build and push Docker images
uses: docker/build-push-action@v1.1.0
uses: docker/build-push-action@v2
with:
username: zu1k
password: ${{ secrets.GITHUB_TOKEN }}

2
go.mod
View File

@@ -18,7 +18,7 @@ require (
github.com/gobwas/glob v0.2.3 // indirect
github.com/gocolly/colly v1.2.0
github.com/golang/protobuf v1.4.2 // indirect
github.com/heroku/x v0.0.25
github.com/heroku/x v0.0.28
github.com/ivpusic/grpool v1.0.0
github.com/jackc/pgproto3/v2 v2.0.4 // indirect
github.com/jasonlvhit/gocron v0.0.1

4
go.sum
View File

@@ -122,8 +122,8 @@ github.com/grpc-ecosystem/grpc-gateway v1.9.6/go.mod h1:vNeuVxBJEsws4ogUvrchl83t
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/heroku/rollrus v0.2.0/go.mod h1:B3MwEcr9nmf4xj0Sr5l9eSht7wLKMa1C+9ajgAU79ek=
github.com/heroku/x v0.0.25 h1:6/2rENs6rfUds9jOxy9oO59b0fiOx/FeTCGOyLMXcZw=
github.com/heroku/x v0.0.25/go.mod h1:qE/I0jp6rIeTBBosrPYV4ygRX3OMhqmC/A6x8ewodJQ=
github.com/heroku/x v0.0.28 h1:JVGnjJSigzkBfUxLB5TViMPRbcPRv9LkllK7WL/V+fU=
github.com/heroku/x v0.0.28/go.mod h1:qE/I0jp6rIeTBBosrPYV4ygRX3OMhqmC/A6x8ewodJQ=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
github.com/hydrogen18/memlistener v0.0.0-20141126152155-54553eb933fb/go.mod h1:qEIFzExnS6016fRpRfxrExeVn2gbClQA99gQhnIcdhE=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=

View File

@@ -18,7 +18,7 @@ func (s Surge) Provide() string {
var resultBuilder strings.Builder
for _, p := range *s.Proxies {
if checkSurgeSupport(p) {
resultBuilder.WriteString(p.ToClash() + "\n")
resultBuilder.WriteString(p.ToSurge() + "\n")
}
}
return resultBuilder.String()