[GIN-001] - Add TOML bining for gin#3081
Conversation
|
@appleboy can you please help review |
|
I think you should use v2 of github.com/pelletier/go-toml. It's more performant |
|
The v2 version is still in beta and might still have numerous bugs at the moment |
Hugo uses v2, also i think it doesn't have critical bugs. |
The TOML parser has been updated to v2. Please review. Thanks |
|
@appleboy fixed issues with |
|
Wait for @thinkerou approval. |
thinkerou
left a comment
There was a problem hiding this comment.
lgtm, but please wait unit test ok, thanks!
32e4848
|
Resolved merge conflict and updated toml binding to use the type |
|
@Valentine-Mario sorry, please fix conflicts again, thanks! |
Resolved @thinkerou |
|
@thinkerou not sure why this test is failing, com planning about the TOML in the context being undefined |
|
Codecov Report
@@ Coverage Diff @@
## master #3081 +/- ##
==========================================
- Coverage 98.77% 98.21% -0.56%
==========================================
Files 41 43 +2
Lines 3105 3141 +36
==========================================
+ Hits 3067 3085 +18
- Misses 26 44 +18
Partials 12 12
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
| @@ -0,0 +1,31 @@ | |||
| package binding | |||
There was a problem hiding this comment.
please add copyright info, thanks!
| @@ -0,0 +1,32 @@ | |||
| package render | |||
There was a problem hiding this comment.
please add copyright info, thanks!
masterThis PR aims to add a TOML binding to the gin framework