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

Introduce Golang examples #390

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from
Open

Conversation

vijaiaeroastro
Copy link
Collaborator

@vijaiaeroastro vijaiaeroastro commented Sep 1, 2024

This PR introduces 7 golang examples (same as Python examples)

  • 3mf_convert.go
  • add_triangle.go
  • beam_lattice.go
  • color_cube.go
  • create_components.go
  • create_cube.go
  • extract_info.go

It currently imports the lib3mf library from https://github.com/3MFConsortium/lib3mf.go
Once ACT is patched / a decision is made on patching the bindings in the repo, examples can be adapted to work with local binding files

This PR also tests the create_cube.go script in Windows, Linux and OSX as a part of the deploy stage.

Copy link

codecov bot commented Sep 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.11%. Comparing base (5abad20) to head (bd16ead).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #390   +/-   ##
========================================
  Coverage    71.11%   71.11%           
========================================
  Files          271      271           
  Lines        30317    30317           
========================================
  Hits         21561    21561           
  Misses        8756     8756           

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

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