rename frag.go; update genStruct.sh

This commit is contained in:
nareix 2016-06-10 12:14:44 +08:00
parent 59af05730d
commit a73846758a
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
#!/bin/bash #!/bin/bash
node --harmony_rest_parameters genStruct.js > struct.go && gofmt -w struct.go && go build . node genStruct.js > struct.go && gofmt -w struct.go && go build . || {
echo
echo "Please use node version > 6.0.0"
}