• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / go-option / 17463435513
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: elhimov/tntp-3733-import-and-actualize-benchmarks
DEFAULT BRANCH: master
Ran 04 Sep 2025 12:13PM UTC
Jobs 1
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Sep 2025 12:13PM UTC coverage: 91.616%. Remained the same
17463435513

Pull #10

github

bigbes
gentypes: Add support for third-party types

The gentypes tool was previously limited to generating optional types for local
types that implemented the MarshalMsgpack and UnmarshalMsgpack methods. Thi
made it impossible to generate optional types for types from external modules.

This commit enhances the generator to support third-party types by introducing
the following new flags:

* -force: To bypass the check for MarshalMsgpack and UnmarshalMsgpack methods.
* -imports: To add necessary imports for the third-party type and custom functions.
* -marshal-func: To specify a custom marshal function.
* -unmarshal-func: To specify a custom unmarshal function.

The generator code has been refactored to use a GenerateOptions struct for
better organization.

Additionally, this commit:

* Adds a new test case for generating an optional type for uuid.UUID.
* Updates the README.md with documentation for the new flags and an example.
* Moves test files to a more appropriate internal/test directory.

Closes #TNTP-3734.
Pull Request #10: gentypes: add support for third-party types

1202 of 1312 relevant lines covered (91.62%)

3.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 17463435513.1 04 Sep 2025 12:13PM UTC 20
91.62
GitHub Action Run
Source Files on build 17463435513
  • List 20
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #10
  • PR Base - master (#17462821719)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc