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

GannettDigital / jstransform / 217 / 1
80%
master: 34%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.8.6
DEFAULT BRANCH: master
Ran 15 Apr 2019 09:05PM UTC
Files 10
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

15 Apr 2019 09:01PM UTC coverage: 79.8%. First build
GO111MODULE="on"

push

travis-ci

web-flow
Allow field renames (#49)

* Allow fields to be renamed
Valid JSON property names are not always valid Go identifiers. A common example is a property name that starts with a number. This cannot be turned into a field in the Go struct generated by this tool.
With this change you can supply key value pairs to rename JSON property names to something that is a valid Go identifier. For example if you had a property name in your JSONschema file called "16_9" you could call go generate like this:
```
//go:generate jstransform -renameFields 16_9=SixteenByNine /path/to/the/schema.json
```

1118 of 1401 relevant lines covered (79.8%)

57.2 hits per line

Source Files on job 217.1 (GO111MODULE="on")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 197
  • Travis Job 217.1
  • a8f1e2f1 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