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 14 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 66.09%. Comparing base (932f2d6) to head (c12fa20).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #390   +/-   ##
========================================
  Coverage    66.09%   66.09%           
========================================
  Files          395      395           
  Lines        44642    44642           
========================================
  Hits         29506    29506           
  Misses       15136    15136           

☔ 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