Skip to content

Commit 2fde0ec

Browse files
authored
Merge pull request #1084 from Iceber/schema-golang-1.16
schema: make with golang 1.16
2 parents e54040a + 3f30167 commit 2fde0ec

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

schema/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ fmt:
1515

1616
.PHONY: validate
1717
validate: validate.go
18-
go get -d ./...
19-
go build ./validate.go
18+
GO111MODULE=auto go get github.com/xeipuuv/gojsonschema
19+
GO111MODULE=auto go build ./validate.go
2020

2121
test: validate $(TESTS)
2222
for TYPE in $$(ls test); \

schema/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ There is also included a simple utility for facilitating validation.
2323
To build it:
2424

2525
```bash
26-
export GOPATH=`mktemp -d`
27-
go get -d ./...
26+
go get github.com/xeipuuv/gojsonschema
2827
go build ./validate.go
29-
rm -rf $GOPATH
3028
```
3129

3230
Or you can just use make command to create the utility:

0 commit comments

Comments
 (0)