From d4dcf37a2a96a0eafa936b427b1d05e943397e49 Mon Sep 17 00:00:00 2001 From: Bekket Date: Thu, 10 Nov 2022 18:06:22 +0400 Subject: [PATCH] dir structure for go packages --- README.md | 4 ++-- go/{ => FactoryNFT}/FactoryNFT.go | 0 go/{ => SingletonNFT}/SingletonNFT.go | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename go/{ => FactoryNFT}/FactoryNFT.go (100%) rename go/{ => SingletonNFT}/SingletonNFT.go (100%) diff --git a/README.md b/README.md index 86c205e..273f342 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,6 @@ solc --abi --bin ./contracts/SingletonNFT.sol -o build ..=.. --overwrite --allow ## Generating GO ``` -abigen --abi="build/FactoryNFT.abi" --pkg=FactoryNFT --out="./go/FactoryNFT.go" -abigen --abi="build/SingletonNFT.abi" --pkg=SingletonNFT --out="./go/SingletonNFT.go" +abigen --abi="build/FactoryNFT.abi" --pkg=FactoryNFT --out="./go/FactoryNFT/FactoryNFT.go" +abigen --abi="build/SingletonNFT.abi" --pkg=SingletonNFT --out="./go/SingletonNFT/SingletonNFT.go" ``` diff --git a/go/FactoryNFT.go b/go/FactoryNFT/FactoryNFT.go similarity index 100% rename from go/FactoryNFT.go rename to go/FactoryNFT/FactoryNFT.go diff --git a/go/SingletonNFT.go b/go/SingletonNFT/SingletonNFT.go similarity index 100% rename from go/SingletonNFT.go rename to go/SingletonNFT/SingletonNFT.go