go-siris / siris

DEPRECATED: The community driven fork of Iris. The fastest web framework for Golang!
Other
142 stars 16 forks source link

Renamed middleware imports and ran `dep` #61

Closed Allendar closed 7 years ago

Allendar commented 7 years ago

This change is Reviewable

CLAassistant commented 7 years ago

CLA assistant check
All committers have signed the CLA.

Dexus commented 7 years ago

FYI Please rebase the branch.


Review status: 0 of 332 files reviewed at latest revision, 8 unresolved discussions, some commit checks failed.


siris.go, line 32 at r1 (raw file):

  // middleware used in Default method
  requestLogger "github.com/go-siris/middleware-logger"
  "github.com/go-siris/middleware-recover"

Here you need to name it recover


_examples/beginner/basicauth/main.go, line 6 at r1 (raw file):

  "time"

  "github.com/go-siris/middleware-basicauth"

this need to named basicauth


_examples/beginner/pprof/main.go, line 7 at r1 (raw file):

  "github.com/go-siris/siris/context"

  "github.com/go-siris/middleware-pprof"

this need to be named pprof


_examples/beginner/recover/main.go, line 7 at r1 (raw file):

  "github.com/go-siris/siris/context"

  "github.com/go-siris/middleware-recover"

need to be named recover


_examples/beginner/request-logger/main.go, line 4 at r1 (raw file):


import (
  "github.com/go-siris/middleware-logger"

need to be named logger


_examples/intermediate/httptest/main.go, line 4 at r1 (raw file):


import (
  "github.com/go-siris/middleware-basicauth"

need to be named basicauth


_examples/intermediate/i18n/main.go, line 4 at r1 (raw file):


import (
  "github.com/go-siris/middleware-i18n"

need to be named i18n


coverage-tests/siris_test.go, line 17 at r1 (raw file):

  "gopkg.in/gavv/httpexpect.v1"

  "github.com/go-siris/middleware-basicauth"

need to be named basicauth


Comments from Reviewable

codecov-io commented 7 years ago

Codecov Report

Merging #61 into devel will decrease coverage by 0.1%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel      #61      +/-   ##
==========================================
- Coverage   63.34%   63.23%   -0.11%     
==========================================
  Files          23       21       -2     
  Lines        2008     1945      -63     
==========================================
- Hits         1272     1230      -42     
+ Misses        644      626      -18     
+ Partials       92       89       -3

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 33bc89e...6fa6af5. Read the comment docs.

codecov-io commented 7 years ago

Codecov Report

Merging #61 into devel will decrease coverage by 0.1%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel      #61      +/-   ##
==========================================
- Coverage   63.34%   63.23%   -0.11%     
==========================================
  Files          23       21       -2     
  Lines        2008     1945      -63     
==========================================
- Hits         1272     1230      -42     
+ Misses        644      626      -18     
+ Partials       92       89       -3

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 33bc89e...6fa6af5. Read the comment docs.

Dexus commented 7 years ago
:lgtm:

Reviewed 52 of 339 files at r1, 7 of 7 files at r3, 1 of 261 files at r4. Review status: all files reviewed at latest revision, 8 unresolved discussions, some commit checks failed.


Comments from Reviewable

Dexus commented 7 years ago

Review status: all files reviewed at latest revision, 8 unresolved discussions, some commit checks failed.


siris.go, line 32 at r1 (raw file):

Previously, Dexus (Josef Fröhle) wrote…
Here you need to name it `recover`

OK


_examples/beginner/basicauth/main.go, line 6 at r1 (raw file):

Previously, Dexus (Josef Fröhle) wrote…
this need to named `basicauth`

OK


_examples/beginner/pprof/main.go, line 7 at r1 (raw file):

Previously, Dexus (Josef Fröhle) wrote…
this need to be named `pprof`

OK


_examples/beginner/recover/main.go, line 7 at r1 (raw file):

Previously, Dexus (Josef Fröhle) wrote…
need to be named `recover`

OK


_examples/beginner/request-logger/main.go, line 4 at r1 (raw file):

Previously, Dexus (Josef Fröhle) wrote…
need to be named `logger`

OK


_examples/intermediate/httptest/main.go, line 4 at r1 (raw file):

Previously, Dexus (Josef Fröhle) wrote…
need to be named `basicauth`

OK


_examples/intermediate/i18n/main.go, line 4 at r1 (raw file):

Previously, Dexus (Josef Fröhle) wrote…
need to be named `i18n`

OK


coverage-tests/siris_test.go, line 17 at r1 (raw file):

Previously, Dexus (Josef Fröhle) wrote…
need to be named `basicauth`

OK


Comments from Reviewable

Dexus commented 7 years ago

Reviewed 1 of 7 files at r3. Review status: all files reviewed at latest revision, 8 unresolved discussions, some commit checks failed.


Comments from Reviewable