-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add custom Delims support #860
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #860 +/- ##
===========================================
+ Coverage 93.49% 93.95% +0.46%
===========================================
Files 16 16
Lines 1353 1357 +4
===========================================
+ Hits 1265 1275 +10
+ Misses 78 68 -10
- Partials 10 14 +4
Continue to review full report at Codecov.
|
Wrong branch and missing testing. |
@appleboy How can I do for this PR? |
@saser I changed the base branch. You just add testing code on your branch and push commits. |
@appleboy Need I add testing code on the master branch , then push commits ? Or others? |
@shenshouer Push your commits in your |
gin.go
Outdated
func (engine *Engine) LoadHTMLGlob(pattern string) { | ||
if IsDebugging() { | ||
debugPrintLoadTemplate(template.Must(template.ParseGlob(pattern))) | ||
engine.HTMLRender = render.HTMLDebug{Glob: pattern} | ||
// debugPrintLoadTemplate(template.Must(template.ParseGlob(pattern))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for this comments code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shenshouer Please remove this comments.
gin_test.go
Outdated
@@ -8,11 +8,60 @@ import ( | |||
"reflect" | |||
"testing" | |||
|
|||
"net/http" | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why all these blank lines?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the miss inspection, this was auto import package and format style by the vscode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove the empty line for import native package.
@tboerger Please review again. |
Looks like the commits ate messed up, you need to rebase properly. |
@tboerger no. It doesn't matter about previous commits. We can squash and merge this PR. |
How can we get this merged? |
@shenshouer Thanks for your contribution. |
add custom delims support, for example: