2
0
Commit Graph

64 Commits

Author SHA1 Message Date
dependabot[bot] 7a8d62f9c7 Bump actions/cache from 3.2.3 to 3.2.4
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 11:01:57 +00:00
thinkerou e3ecb06a99 Merge pull request #32 from gin-contrib/dependabot/github_actions/actions/cache-3.2.3
Bump actions/cache from 3.0.4 to 3.2.3
2023-01-09 20:16:56 +08:00
dependabot[bot] 0457432d42 Bump actions/cache from 3.0.4 to 3.2.3
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.4 to 3.2.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.4...v3.2.3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 11:02:38 +00:00
thinkerou a9845aa057 Merge pull request #20 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.8.0
Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
2022-07-05 09:57:19 +08:00
dependabot[bot] d5584a62d2 Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 11:15:48 +00:00
thinkerou 6d87db8b2c Merge pull request #19 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.5
Bump github.com/stretchr/testify from 1.7.3 to 1.7.5
2022-06-28 10:44:24 +08:00
dependabot[bot] 6a322eddfe Bump github.com/stretchr/testify from 1.7.3 to 1.7.5
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.3 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.3...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 11:10:43 +00:00
thinkerou 3d36914825 Merge pull request #18 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.3
Bump github.com/stretchr/testify from 1.7.2 to 1.7.3
2022-06-20 20:12:17 +08:00
dependabot[bot] 9684d1af91 Bump github.com/stretchr/testify from 1.7.2 to 1.7.3
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 11:20:14 +00:00
thinkerou 26c7357d42 Merge pull request #17 from gin-contrib/dependabot/github_actions/actions/cache-3.0.4
Bump actions/cache from 3.0.3 to 3.0.4
2022-06-13 20:04:03 +08:00
dependabot[bot] 7c6565fd0b Bump actions/cache from 3.0.3 to 3.0.4
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.3...v3.0.4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 11:13:32 +00:00
thinkerou 24ebcbcff5 Merge pull request #16 from gin-contrib/dependabot/go_modules/github.com/stretchr/testify-1.7.2
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
2022-06-07 07:53:53 +08:00
thinkerou 7a680aa138 Merge pull request #15 from gin-contrib/dependabot/github_actions/actions/cache-3.0.3
Bump actions/cache from 3.0.2 to 3.0.3
2022-06-07 07:53:43 +08:00
dependabot[bot] 24c04f76c8 Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 11:17:39 +00:00
dependabot[bot] fc6709a655 Bump actions/cache from 3.0.2 to 3.0.3
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 11:17:15 +00:00
thinkerou dd1a6434be Merge pull request #14 from gin-contrib/dependabot/github_actions/golangci/golangci-lint-action-3.2.0
Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0
2022-05-18 22:28:32 +08:00
dependabot[bot] a3e0f6f277 Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 11:09:54 +00:00
thinkerou 069594b0dc Merge pull request #13 from gin-contrib/dependabot/github_actions/actions/cache-3.0.2
Bump actions/cache from 3.0.1 to 3.0.2
2022-04-22 18:53:30 +08:00
thinkerou 8c9bd28179 Merge pull request #12 from gin-contrib/dependabot/github_actions/actions/setup-go-3
Bump actions/setup-go from 2 to 3
2022-04-22 18:53:19 +08:00
thinkerou 716e073935 Merge pull request #11 from gin-contrib/dependabot/github_actions/codecov/codecov-action-3
Bump codecov/codecov-action from 2 to 3
2022-04-22 18:52:59 +08:00
dependabot[bot] d4b0d19783 Bump actions/cache from 3.0.1 to 3.0.2
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 11:12:18 +00:00
dependabot[bot] 7ee7429332 Bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 11:12:15 +00:00
dependabot[bot] 9d70eb5fde Bump codecov/codecov-action from 2 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 11:12:13 +00:00
leonlau 4ac659647a Fix Unicode encoding errors (#2) 2022-04-04 19:19:04 +08:00
dependabot[bot] ea4ee031b4 Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#8)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 19:18:44 +08:00
dependabot[bot] 044c53d488 Bump actions/checkout from 2 to 3 (#7)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 19:18:27 +08:00
dependabot[bot] 88fd93cde9 Bump golangci/golangci-lint-action from 2 to 3.1.0 (#6)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 19:18:08 +08:00
dependabot[bot] 689ed5f3dd Bump actions/cache from 2 to 3.0.1 (#10)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 19:15:18 +08:00
thinkerou ab64730e37 Merge pull request #5 from mmorel-35/patch-1
Update badges
2021-08-24 09:51:40 +08:00
Matthieu MOREL 2183763cc0 Update badges 2021-08-23 16:06:52 +02:00
Bo-Yi Wu fa715febff Merge pull request #4 from mmorel-35/master
chore(ci) : update dependencies and upgrade minimum go version to 1.13
2021-08-21 22:12:47 +08:00
Matthieu MOREL db223ce4af chore(ci) : update ci
- migrate from travis to github workflow
- upgrade minimum go version to 1.13
- setup golangci job

Signed-off-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-20 13:37:44 +02:00
thinkerou 06e6e3d866 chore: add go1.15.x 2020-08-15 18:46:36 +08:00
thinkerou 43f0f29dbd chore: remove go1.8/1.9 and support go1.13 2019-09-05 13:13:34 +08:00
thinkerou 54d8467d12 Merge branch 'master' of https://github.com/gin-contrib/sse 2019-06-02 23:02:53 +08:00
thinkerou 47eaab5c5b add go module file 2019-06-02 17:31:01 +08:00
田欧 5545eab6da remove go1.6/1.7 from travis 2019-03-01 14:25:29 +08:00
田欧 996076df5b chore: add env for go1.11/go1.12 2019-02-26 10:31:49 +08:00
田欧 07f35e8045 chore: add go1.12 support 2019-02-26 10:07:59 +08:00
田欧 a7658810eb Update sse_test.go 2019-01-25 10:09:43 +08:00
田欧 71ee3f40a7 fix test error 2019-01-25 10:07:02 +08:00
田欧 4710fbb28d attempt to fix test error 2019-01-25 10:02:09 +08:00
田欧 61b50c2ef4 Update .travis.yml 2019-01-24 17:39:53 +08:00
Javier Provecho Fernandez 22d885f9ec Update .travis.yml, update README.md and add support for gin-gonic/gin/pull/781 2017-01-09 10:38:32 +01:00
Javier Provecho Fernandez cee0155f96 Update references to gin-contrib 2017-01-08 19:51:46 +01:00
Manu Mtz.-Almeida ee05b128a7 Adds some comments 2016-01-26 19:01:36 +01:00
Manu Mtz-Almeida fe6ea2c8e3 Conforms to w3.org standard + experimental decoder 2015-07-15 20:48:05 +02:00
Manu Mtz-Almeida c142f0f1ba Conforms to new Render API 2015-06-04 11:11:00 +02:00
Manu Mtz-Almeida 8dbe678801 Using string.Replacer instead several calls to string.Replace 2015-06-04 11:10:34 +02:00
Manu Mtz-Almeida 404710eaa4 Performance improvements.
BenchmarkResponseWriter     1239          1304          +5.25%
BenchmarkFullSSE            1469          915           -37.71%
BenchmarkNoRetrySSE         1187          785           -33.87%
BenchmarkSimpleSSE          961           687           -28.51%

benchmark                   old allocs     new allocs     delta
BenchmarkResponseWriter     9              9              +0.00%
BenchmarkFullSSE            12             3              -75.00%
BenchmarkNoRetrySSE         11             2              -81.82%
BenchmarkSimpleSSE          8              2              -75.00%

benchmark                   old bytes     new bytes     delta
BenchmarkResponseWriter     442           442           +0.00%
BenchmarkFullSSE            462           320           -30.74%
BenchmarkNoRetrySSE         473           337           -28.75%
BenchmarkSimpleSSE          426           314           -26.29%
2015-05-30 11:23:56 +02:00