util/time: add Marshal/Unmarshal to own Duration #184

Merged
vtolstov merged 2 commits from duration into v3 2023-02-13 14:05:17 +03:00
vtolstov commented 2023-02-13 14:02:26 +03:00 (Migrated from github.com)

Signed-off-by: Vasiliy Tolstov v.tolstov@unistack.org

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
github-actions[bot] (Migrated from github.com) reviewed 2023-02-13 14:02:41 +03:00
github-actions[bot] (Migrated from github.com) approved these changes 2023-02-13 14:03:23 +03:00
codecov[bot] commented 2023-02-13 14:04:10 +03:00 (Migrated from github.com)

Codecov Report

Merging #184 (b07806b) into v3 (f4d0237) will decrease coverage by 0.09%.
The diff coverage is 45.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##               v3     #184      +/-   ##
==========================================
- Coverage   40.62%   40.53%   -0.09%     
==========================================
  Files          98       98              
  Lines        9273     9293      +20     
==========================================
  Hits         3767     3767              
- Misses       5161     5178      +17     
- Partials      345      348       +3     
Impacted Files Coverage Δ
util/time/duration.go 22.50% <45.00%> (+22.50%) ⬆️
broker/memory.go 51.52% <0.00%> (-3.94%) ⬇️

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 f4d0237...b07806b. Read the comment docs.

# [Codecov](https://codecov.io/gh/unistack-org/micro/pull/184?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) Report > Merging [#184](https://codecov.io/gh/unistack-org/micro/pull/184?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) (b07806b) into [v3](https://codecov.io/gh/unistack-org/micro/commit/f4d0237785e00ec81c63d1d8048d00cd8d118f36?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) (f4d0237) will **decrease** coverage by `0.09%`. > The diff coverage is `45.00%`. [![Impacted file tree graph](https://codecov.io/gh/unistack-org/micro/pull/184/graphs/tree.svg?width=650&height=150&src=pr&token=OZPO2LP7VS&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org)](https://codecov.io/gh/unistack-org/micro/pull/184?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) ```diff @@ Coverage Diff @@ ## v3 #184 +/- ## ========================================== - Coverage 40.62% 40.53% -0.09% ========================================== Files 98 98 Lines 9273 9293 +20 ========================================== Hits 3767 3767 - Misses 5161 5178 +17 - Partials 345 348 +3 ``` | [Impacted Files](https://codecov.io/gh/unistack-org/micro/pull/184?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) | Coverage Δ | | |---|---|---| | [util/time/duration.go](https://codecov.io/gh/unistack-org/micro/pull/184?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org#diff-dXRpbC90aW1lL2R1cmF0aW9uLmdv) | `22.50% <45.00%> (+22.50%)` | :arrow_up: | | [broker/memory.go](https://codecov.io/gh/unistack-org/micro/pull/184?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org#diff-YnJva2VyL21lbW9yeS5nbw==) | `51.52% <0.00%> (-3.94%)` | :arrow_down: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/unistack-org/micro/pull/184?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/unistack-org/micro/pull/184?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org). Last update [f4d0237...b07806b](https://codecov.io/gh/unistack-org/micro/pull/184?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org).
Sign in to join this conversation.
No description provided.