otiai10 / opengraph

Open Graph Parser for Go
https://pkg.go.dev/github.com/otiai10/opengraph
MIT License
65 stars 13 forks source link

v2 #16

Closed otiai10 closed 3 years ago

otiai10 commented 3 years ago
ogp, err := opengraph.Fetch("https://ogp.me", opengraph.Intent{Context: ctx})

Close #13

codecov-commenter commented 3 years ago

Codecov Report

Merging #16 into master will increase coverage by 9.74%. The diff coverage is 96.26%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   84.04%   93.79%   +9.74%     
==========================================
  Files           4        3       -1     
  Lines         163      129      -34     
==========================================
- Hits          137      121      -16     
+ Misses         17        4      -13     
+ Partials        9        4       -5     
Impacted Files Coverage Δ
opengraph.go 87.30% <92.30%> (+8.23%) :arrow_up:
meta.go 100.00% <100.00%> (ø)
tags.go 100.00% <100.00%> (ø)

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 c9fc59c...d62bd29. Read the comment docs.

codecov-io commented 3 years ago

Codecov Report

Merging #16 into master will increase coverage by 11.69%. The diff coverage is 97.50%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #16       +/-   ##
===========================================
+ Coverage   84.04%   95.74%   +11.69%     
===========================================
  Files           4        3        -1     
  Lines         163      141       -22     
===========================================
- Hits          137      135        -2     
+ Misses         17        3       -14     
+ Partials        9        3        -6     
Impacted Files Coverage Δ
opengraph.go 92.00% <95.38%> (+12.93%) :arrow_up:
meta.go 100.00% <100.00%> (ø)
tags.go 100.00% <100.00%> (ø)

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 c9fc59c...ecc68ee. Read the comment docs.