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

drop legacy Go support #11

Merged
merged 1 commit into from
Jan 9, 2021
Merged

drop legacy Go support #11

merged 1 commit into from
Jan 9, 2021

Conversation

mythi
Copy link
Contributor

@mythi mythi commented Mar 3, 2020

Go 1.9 was released in August 2017 so it's safe to make a claim that projects
are already using new enough Go version.

Tested with:

$ go version
go version go1.13.8 linux/amd64
$ GO111MODULE=off ./test.sh
ok      github.com/modern-go/reflect2-tests     0.005s  coverage: 12.3% of statements in github.com/modern-go/reflect2
ok      github.com/modern-go/reflect2-tests/test15      0.004s  coverage: 6.4% of statements in github.com/modern-go/reflect2
ok      github.com/modern-go/reflect2-tests/tests       0.010s  coverage: 65.4% of statements in github.com/modern-go/reflect2

Signed-off-by: Mikko Ylinen mikko.ylinen@intel.com

@codecov-io
Copy link

codecov-io commented Mar 3, 2020

Codecov Report

Merging #11 (bb009fe) into master (7e6ae53) will increase coverage by 4.86%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
+ Coverage   60.42%   65.29%   +4.86%     
==========================================
  Files          20       19       -1     
  Lines         753      533     -220     
==========================================
- Hits          455      348     -107     
+ Misses        282      172     -110     
+ Partials       16       13       -3     
Impacted Files Coverage Δ
go_above_19.go 100.00% <ø> (ø)
reflect2.go 64.04% <100.00%> (+0.23%) ⬆️
type_map.go 91.30% <100.00%> (+43.84%) ⬆️
safe_struct.go 20.00% <0.00%> (-1.43%) ⬇️
unsafe_ptr.go 13.33% <0.00%> (-0.96%) ⬇️
unsafe_slice.go 80.72% <0.00%> (-0.41%) ⬇️
unsafe_link.go 100.00% <0.00%> (ø)
unsafe_iface.go 0.00% <0.00%> (ø)
... and 12 more

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 7e6ae53...bb009fe. Read the comment docs.

@mythi
Copy link
Contributor Author

mythi commented Mar 19, 2020

any comments?

Copy link

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM 👍 (not a maintainer)

Go 1.9 was released in August 2017 so it's safe to make a claim that projects
are already using new enough Go version.

Tested with:

$ go version
go version go1.13.8 linux/amd64
$ GO111MODULE=off ./test.sh
ok      github.com/modern-go/reflect2-tests     0.005s  coverage: 12.3% of statements in github.com/modern-go/reflect2
ok      github.com/modern-go/reflect2-tests/test15      0.004s  coverage: 6.4% of statements in github.com/modern-go/reflect2
ok      github.com/modern-go/reflect2-tests/tests       0.010s  coverage: 65.4% of statements in github.com/modern-go/reflect2

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
@mythi
Copy link
Contributor Author

mythi commented Dec 31, 2020

rebased to resolve conflicts, force pushed.

@taowen taowen merged commit 333559e into modern-go:master Jan 9, 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.

4 participants