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

tarantool / go-option / 16990606909

15 Aug 2025 01:06PM UTC coverage: 62.702% (+62.7%) from 0.0%
16990606909

Pull #3

github

bigbes
generator: implement generator for builtin go types

* supported optional types are int*, uint*, float*, bytes, string, bool
* fully redo configuration for golangci-lint
* simple tests for encoding/decoding roundtrip

Closes TNTP-3729.
Pull Request #3: TNTP-3729: generator for builtin go types

622 of 992 new or added lines in 17 files covered. (62.7%)

622 of 992 relevant lines covered (62.7%)

1.02 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/errors.go
1
package option
2

3
import (
4
        "fmt"
5
)
6

7
// FailedToDecodeError is returned when decoding failed due to invalid code in msgpack stream.
8
type FailedToDecodeError struct {
9
        Type string
10
        Code byte
11
}
12

NEW
13
func (d FailedToDecodeError) Error() string {
×
NEW
14
        return fmt.Sprintf("failed to decode %s, invalid code: %d", d.Type, d.Code)
×
NEW
15
}
×
16

NEW
17
func newFailedToDecodeError(tp string, code byte) error {
×
NEW
18
        return FailedToDecodeError{Type: tp, Code: code}
×
NEW
19
}
×
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