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

GannettDigital / jstransform / 216 / 1
34%
master: 34%

Build:
DEFAULT BRANCH: master
Ran 15 Apr 2019 09:03PM 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% (+0.1%) from 79.682%
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.19 hits per line

Source Files on job 216.1 (GO111MODULE="on")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 196
  • Travis Job 216.1
  • a8f1e2f1 on github
  • Prev Job for GO111MODULE="on" on master (#205.1)
  • Next Job for GO111MODULE="on" on master (#251.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