Add context support #1193

Merged
lunny merged 2 commits from lunny/context_support into master 2019-01-20 03:01:14 +00:00
Owner

should fix #614, #757, #835 and #1177

should fix #614, #757, #835 and #1177
codecov-io commented 2019-01-17 08:44:14 +00:00 (Migrated from github.com)
Author
Owner

Codecov Report

Merging #1193 into master will increase coverage by 0.09%.
The diff coverage is 90.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1193      +/-   ##
==========================================
+ Coverage   51.34%   51.44%   +0.09%     
==========================================
  Files          42       43       +1     
  Lines        7652     7663      +11     
==========================================
+ Hits         3929     3942      +13     
  Misses       3210     3210              
+ Partials      513      511       -2
Impacted Files Coverage Δ
engine.go 61.09% <ø> (ø) ⬆️
session_tx.go 91.66% <100%> (ø) ⬆️
session_schema.go 59.12% <100%> (ø) ⬆️
session.go 56.17% <100%> (+0.08%) ⬆️
xorm.go 63.63% <100%> (+0.55%) ⬆️
session_context.go 75% <100%> (ø)
engine_context.go 80% <80%> (ø)
session_raw.go 56.06% <83.33%> (+1.51%) ⬆️
session_exist.go 61.7% <0%> (+4.25%) ⬆️

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 229c3aa...1bedde5. Read the comment docs.

# [Codecov](https://codecov.io/gh/go-xorm/xorm/pull/1193?src=pr&el=h1) Report > Merging [#1193](https://codecov.io/gh/go-xorm/xorm/pull/1193?src=pr&el=desc) into [master](https://codecov.io/gh/go-xorm/xorm/commit/229c3aaf04aaeb907dffeffb696304f2c318f31b?src=pr&el=desc) will **increase** coverage by `0.09%`. > The diff coverage is `90.62%`. [![Impacted file tree graph](https://codecov.io/gh/go-xorm/xorm/pull/1193/graphs/tree.svg?width=650&token=yB5nO1krEe&height=150&src=pr)](https://codecov.io/gh/go-xorm/xorm/pull/1193?src=pr&el=tree) ```diff @@ Coverage Diff @@ ## master #1193 +/- ## ========================================== + Coverage 51.34% 51.44% +0.09% ========================================== Files 42 43 +1 Lines 7652 7663 +11 ========================================== + Hits 3929 3942 +13 Misses 3210 3210 + Partials 513 511 -2 ``` | [Impacted Files](https://codecov.io/gh/go-xorm/xorm/pull/1193?src=pr&el=tree) | Coverage Δ | | |---|---|---| | [engine.go](https://codecov.io/gh/go-xorm/xorm/pull/1193/diff?src=pr&el=tree#diff-ZW5naW5lLmdv) | `61.09% <ø> (ø)` | :arrow_up: | | [session\_tx.go](https://codecov.io/gh/go-xorm/xorm/pull/1193/diff?src=pr&el=tree#diff-c2Vzc2lvbl90eC5nbw==) | `91.66% <100%> (ø)` | :arrow_up: | | [session\_schema.go](https://codecov.io/gh/go-xorm/xorm/pull/1193/diff?src=pr&el=tree#diff-c2Vzc2lvbl9zY2hlbWEuZ28=) | `59.12% <100%> (ø)` | :arrow_up: | | [session.go](https://codecov.io/gh/go-xorm/xorm/pull/1193/diff?src=pr&el=tree#diff-c2Vzc2lvbi5nbw==) | `56.17% <100%> (+0.08%)` | :arrow_up: | | [xorm.go](https://codecov.io/gh/go-xorm/xorm/pull/1193/diff?src=pr&el=tree#diff-eG9ybS5nbw==) | `63.63% <100%> (+0.55%)` | :arrow_up: | | [session\_context.go](https://codecov.io/gh/go-xorm/xorm/pull/1193/diff?src=pr&el=tree#diff-c2Vzc2lvbl9jb250ZXh0Lmdv) | `75% <100%> (ø)` | | | [engine\_context.go](https://codecov.io/gh/go-xorm/xorm/pull/1193/diff?src=pr&el=tree#diff-ZW5naW5lX2NvbnRleHQuZ28=) | `80% <80%> (ø)` | | | [session\_raw.go](https://codecov.io/gh/go-xorm/xorm/pull/1193/diff?src=pr&el=tree#diff-c2Vzc2lvbl9yYXcuZ28=) | `56.06% <83.33%> (+1.51%)` | :arrow_up: | | [session\_exist.go](https://codecov.io/gh/go-xorm/xorm/pull/1193/diff?src=pr&el=tree#diff-c2Vzc2lvbl9leGlzdC5nbw==) | `61.7% <0%> (+4.25%)` | :arrow_up: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/go-xorm/xorm/pull/1193?src=pr&el=continue). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta) > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/go-xorm/xorm/pull/1193?src=pr&el=footer). Last update [229c3aa...1bedde5](https://codecov.io/gh/go-xorm/xorm/pull/1193?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
Sign in to join this conversation.
No description provided.