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

Kochava / envi
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: v1.0.2
DEFAULT BRANCH: master
Repo Added 25 Jan 2018 05:12PM UTC
Files 8
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 issue/2
branch: issue/2
CHANGE BRANCH
x
Reset
  • issue/2
  • add-gddo-badge
  • fix-max-slice-len-godoc
  • issues/4
  • issues/8
  • master
  • v1.0.0
  • v1.0.1
  • v1.0.2

pending completion
17

push

travis-ci

nilium
Fix pointer field assignment in loadStructField

- Only assign the current value of the field to the unmarshalling
  target if the field's value is already valid. This prevents cases
  where the struct's current field value is copied when it's a pointer
  and the zero value (i.e., nil).

- Add TestPointerFields test in issues_test.go -- issues_test.go is
  mostly intended to be a grab bag for collecting tests from issues.
  In this case, it's just holding the tests for issue #2.

Fixes #2.

457 of 471 relevant lines covered (97.03%)

86.89 hits per line

Relevant lines Covered
Build:
Build:
471 RELEVANT LINES 457 COVERED LINES
86.89 HITS PER LINE
Source Files on issue/2
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
17 issue/2 Fix pointer field assignment in loadStructField - Only assign the current value of the field to the unmarshalling target if the field's value is already valid. This prevents cases where the struct's current field value is copied when it's a p... push 02 Mar 2018 05:32AM UTC nilium travis-ci pending completion  
15 issue/2 Fix pointer field assignment in loadStructField - Only assign the current value of the field to the unmarshalling target if the field's value is already valid. This prevents cases where the struct's current field value is copied when it's a p... push 02 Mar 2018 05:27AM UTC nilium travis-ci pending completion  
13 issue/2 Fix pointer field assignment in loadStructField - Wrap the field in indirect -- this more or less ensures the value being assigned is addressable and that a call to Elem() is safe. The indirect is wrapped in a reflect.Indirect specifically to... push 02 Mar 2018 05:15AM UTC nilium travis-ci pending completion  
See All Builds (35)
  • 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

© 2026 Coveralls, Inc