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

DOM: Add methods to convert DOM constructs to vanilla Go types. #70

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

rkosegi
Copy link
Owner

@rkosegi rkosegi commented Aug 23, 2024

  • Container => asMap() returns map[string]interface{}
  • List => AsSlice() returns []interface{}
  • Leaf => Value() returns interface{}

Signed-off-by: Richard Kosegi richard.kosegi@gmail.com

- Container => asMap() returns map[string]interface{}
- List => AsSlice() returns []interface{}
- Leaf => Value() returns interface{}

Signed-off-by: Richard Kosegi <richard.kosegi@gmail.com>
Copy link

sonarcloud bot commented Aug 23, 2024

Copy link

codecov bot commented Aug 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.41%. Comparing base (79d1ebb) to head (46879ee).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #70   +/-   ##
=======================================
  Coverage   99.40%   99.41%           
=======================================
  Files          46       46           
  Lines        2201     2205    +4     
=======================================
+ Hits         2188     2192    +4     
  Misses          6        6           
  Partials        7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rkosegi rkosegi merged commit 3d2ca20 into main Aug 23, 2024
4 checks passed
@rkosegi rkosegi deleted the feature/dom-vanilla-export branch August 23, 2024 07:20
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.

1 participant