Update native-bindings.md

This commit is contained in:
rjl493456442 2022-06-23 11:24:33 +08:00 committed by GitHub
parent 2388d1a476
commit 3246b8d44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ $ abigen --combined-json combined.json --pkg main --type token --out token.go
Even you can combine these two steps together as a pipeline
```
solc token.sol --combined-json abi,bin | abigen --pkg contract --out contract.go --combined-json -
solc token.sol --combined-json abi,bin | abigen --pkg main --type token --out token.go --combined-json -
```
### Project integration (i.e. `go generate`)