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

tarantool / go-option
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.0.0
DEFAULT BRANCH: master
Repo Added 01 Aug 2025 02:02PM UTC
Files 20
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

LAST BUILD ON BRANCH bigbes/tntp-3734-gentypes-force
branch: bigbes/tntp-3734-gentypes-force
CHANGE BRANCH
x
Reset
  • bigbes/tntp-3734-gentypes-force
  • bigbes/TNTP-3728-base-ci-configuration
  • bigbes/TNTP-3729-generator-for-builtin-go-types
  • bigbes/TNTP-3730-generic-optional
  • bigbes/noissue-badge-fixing
  • bigbes/release-v0.1.0
  • bigbes/release-v1.0.0
  • bigbes/tntp-3734-optional-types-generator
  • bigbes/tntp-3736-common-docs
  • bigbes/tntp-no-golang-update
  • master
  • patapenka-alexey/tntp-3736-common-docs
  • refs/tags/v0.1.0
  • refs/tags/v1.0.0

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

Relevant lines Covered
Build:
Build:
1312 RELEVANT LINES 1202 COVERED LINES
3.65 HITS PER LINE
Source Files on bigbes/tntp-3734-gentypes-force
  • List 20
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
17463435513 bigbes/tntp-3734-gentypes-force 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 ... Pull #10 04 Sep 2025 12:13PM UTC bigbes github
91.62
17443943973 bigbes/tntp-3734-gentypes-force 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 ... Pull #10 03 Sep 2025 07:26PM UTC bigbes github
91.62
17443745578 bigbes/tntp-3734-gentypes-force 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 ... Pull #10 03 Sep 2025 07:18PM UTC bigbes github
91.62
17443705818 bigbes/tntp-3734-gentypes-force 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 ... Pull #10 03 Sep 2025 07:15PM UTC bigbes github
91.62
17432531914 bigbes/tntp-3734-gentypes-force gentypes: option to force generate optional types * move internal test types of gentypes to internal subpackage Closes #TNTP-3734. Pull #10 03 Sep 2025 11:51AM UTC bigbes github
91.62
17432008353 bigbes/tntp-3734-gentypes-force gentypes: option to force generate optional types Closes #TNTP-3734. push 03 Sep 2025 11:27AM UTC bigbes github
91.62
See All Builds (79)
  • Repo on GitHub
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