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

tarantool / go-option / 17464329085 / 1
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 04 Sep 2025 12:47PM UTC
Files 20
Run time 1s
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:47PM UTC coverage: 91.616%. Remained the same
17464329085.1

push

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.

1202 of 1312 relevant lines covered (91.62%)

3.65 hits per line

Source Files on job 17464329085.1
  • Tree
  • List 20
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17464329085
  • 87ec22bc on github
  • Prev Job for on master (#17462821719.1)
  • Next Job for on master (#17579013654.1)
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

© 2026 Coveralls, Inc