Skip to content
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 gtime example test #1474

Merged
merged 9 commits into from
Nov 14, 2021
Merged

add gtime example test #1474

merged 9 commits into from
Nov 14, 2021

Conversation

ansionfor
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Nov 12, 2021

Codecov Report

Merging #1474 (15deeb1) into master (684fa9b) will increase coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1474      +/-   ##
==========================================
+ Coverage   69.81%   69.88%   +0.06%     
==========================================
  Files         404      404              
  Lines       39367    39367              
==========================================
+ Hits        27484    27510      +26     
+ Misses      10100    10072      -28     
- Partials     1783     1785       +2     
Flag Coverage Δ
go-1.14 69.79% <ø> (+0.03%) ⬆️
go-1.15 69.84% <ø> (+0.11%) ⬆️
go-1.16 69.86% <ø> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
os/gspath/gspath_cache.go 87.71% <0.00%> (-7.02%) ⬇️
container/gtree/gtree_btree.go 88.36% <0.00%> (+0.50%) ⬆️
os/gtime/gtime.go 81.81% <0.00%> (+0.86%) ⬆️
os/gtime/gtime_format.go 88.81% <0.00%> (+2.48%) ⬆️
os/gtime/gtime_time.go 79.82% <0.00%> (+9.01%) ⬆️

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 684fa9b...15deeb1. Read the comment docs.

os/gtime/gtime_z_example_basic_test.go Outdated Show resolved Hide resolved
os/gtime/gtime_z_example_basic_test.go Show resolved Hide resolved
os/gtime/gtime_z_example_basic_test.go Show resolved Hide resolved
os/gtime/gtime_z_example_basic_test.go Outdated Show resolved Hide resolved

// New creates and returns a Time object with given parameter.
// The optional parameter can be type of: time.Time/*time.Time, string or integer.
func ExampleNew() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

os/gtime/gtime_z_example_time_test.go Outdated Show resolved Hide resolved
@ansionfor ansionfor requested a review from gqcn November 14, 2021 04:12
@gqcn gqcn merged commit ac2a955 into gogf:master Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants