Name: go-jsonnet
Owner: drone.io
Description: go-jsonnet modified to preserve key ordering
Created: 2018-05-11 17:43:20.0
Updated: 2018-05-14 17:23:54.0
Pushed: 2018-05-11 18:11:03.0
Size: 6693
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This an implementation of Jsonnet in pure Go. It is feature complete but is not as heavily exercised as the Jsonnet C++ implementation. Please try it out and give feedback.
This code is known to work on Go 1.8 and above. We recommend always using the newest stable release of Go.
rt GOPATH=$HOME/go-workspace
r -pv $GOPATH
et github.com/google/go-jsonnet
GOPATH/src/github.com/google/go-jsonnet
sonnet
uild
onnet /dev/stdin <<< '{x: 1, y: self.x} + {x: 10}'
x": 10,
y": 10
sts.sh # Also runs `go test ./...`
We are generating some helper classes on types by using http://clipperhouse.github.io/gen/. Do the following to regenerate these if necessary:
et github.com/clipperhouse/gen
et github.com/clipperhouse/set
rt PATH=$PATH:$GOPATH/bin # If you haven't already
enerate
To regenerate the standard library, do:
set_stdast_go.sh && go run cmd/dumpstdlibast.go