From d19c0492d4d79e7136db7e61fcf9babefdf10359 Mon Sep 17 00:00:00 2001 From: Evgeniy Stratonikov Date: Tue, 18 Jan 2022 12:25:24 +0300 Subject: [PATCH] examples: use a separate `go.mod` for each contract Signed-off-by: Evgeniy Stratonikov --- examples/engine/go.mod | 5 +++++ examples/engine/go.sum | 2 ++ examples/events/go.mod | 5 +++++ examples/events/go.sum | 2 ++ examples/iterator/go.mod | 5 +++++ examples/iterator/go.sum | 2 ++ examples/nft-nd-nns/go.mod | 5 +++++ examples/nft-nd-nns/go.sum | 2 ++ examples/nft-nd/go.mod | 5 +++++ examples/nft-nd/go.sum | 2 ++ examples/oracle/go.mod | 5 +++++ examples/oracle/go.sum | 2 ++ examples/runtime/go.mod | 5 +++++ examples/runtime/go.sum | 2 ++ examples/storage/go.mod | 5 +++++ examples/storage/go.sum | 2 ++ examples/timer/go.mod | 5 +++++ examples/timer/go.sum | 2 ++ examples/token-sale/go.mod | 5 +++++ examples/token-sale/go.sum | 2 ++ examples/token/go.mod | 5 +++++ examples/token/go.sum | 2 ++ 22 files changed, 77 insertions(+) create mode 100644 examples/engine/go.mod create mode 100644 examples/engine/go.sum create mode 100644 examples/events/go.mod create mode 100644 examples/events/go.sum create mode 100644 examples/iterator/go.mod create mode 100644 examples/iterator/go.sum create mode 100644 examples/nft-nd-nns/go.mod create mode 100644 examples/nft-nd-nns/go.sum create mode 100644 examples/nft-nd/go.mod create mode 100644 examples/nft-nd/go.sum create mode 100644 examples/oracle/go.mod create mode 100644 examples/oracle/go.sum create mode 100644 examples/runtime/go.mod create mode 100644 examples/runtime/go.sum create mode 100644 examples/storage/go.mod create mode 100644 examples/storage/go.sum create mode 100644 examples/timer/go.mod create mode 100644 examples/timer/go.sum create mode 100644 examples/token-sale/go.mod create mode 100644 examples/token-sale/go.sum create mode 100644 examples/token/go.mod create mode 100644 examples/token/go.sum diff --git a/examples/engine/go.mod b/examples/engine/go.mod new file mode 100644 index 000000000..c2d338ea3 --- /dev/null +++ b/examples/engine/go.mod @@ -0,0 +1,5 @@ +module github.com/nspcc-dev/neo-go/examples/engine + +go 1.15 + +require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 diff --git a/examples/engine/go.sum b/examples/engine/go.sum new file mode 100644 index 000000000..edda2d6e7 --- /dev/null +++ b/examples/engine/go.sum @@ -0,0 +1,2 @@ +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 h1:Paq5oU7mlXjzFcVDD97RA4sxFljAmFrnLrcsObBGIGY= +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652/go.mod h1:/zA6GVDzpSkwq8/HQJxPWDcvfn2BbZnahUO9A1wAevM= diff --git a/examples/events/go.mod b/examples/events/go.mod new file mode 100644 index 000000000..24f82ef86 --- /dev/null +++ b/examples/events/go.mod @@ -0,0 +1,5 @@ +module github.com/nspcc-dev/neo-go/examples/events + +go 1.15 + +require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 diff --git a/examples/events/go.sum b/examples/events/go.sum new file mode 100644 index 000000000..edda2d6e7 --- /dev/null +++ b/examples/events/go.sum @@ -0,0 +1,2 @@ +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 h1:Paq5oU7mlXjzFcVDD97RA4sxFljAmFrnLrcsObBGIGY= +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652/go.mod h1:/zA6GVDzpSkwq8/HQJxPWDcvfn2BbZnahUO9A1wAevM= diff --git a/examples/iterator/go.mod b/examples/iterator/go.mod new file mode 100644 index 000000000..6aca60c26 --- /dev/null +++ b/examples/iterator/go.mod @@ -0,0 +1,5 @@ +module github.com/nspcc-dev/neo-go/examples/iterator + +go 1.15 + +require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 diff --git a/examples/iterator/go.sum b/examples/iterator/go.sum new file mode 100644 index 000000000..edda2d6e7 --- /dev/null +++ b/examples/iterator/go.sum @@ -0,0 +1,2 @@ +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 h1:Paq5oU7mlXjzFcVDD97RA4sxFljAmFrnLrcsObBGIGY= +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652/go.mod h1:/zA6GVDzpSkwq8/HQJxPWDcvfn2BbZnahUO9A1wAevM= diff --git a/examples/nft-nd-nns/go.mod b/examples/nft-nd-nns/go.mod new file mode 100644 index 000000000..5e5357db8 --- /dev/null +++ b/examples/nft-nd-nns/go.mod @@ -0,0 +1,5 @@ +module github.com/nspcc-dev/neo-go/examples/nft-nd-nns + +go 1.15 + +require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 // indirect diff --git a/examples/nft-nd-nns/go.sum b/examples/nft-nd-nns/go.sum new file mode 100644 index 000000000..edda2d6e7 --- /dev/null +++ b/examples/nft-nd-nns/go.sum @@ -0,0 +1,2 @@ +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 h1:Paq5oU7mlXjzFcVDD97RA4sxFljAmFrnLrcsObBGIGY= +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652/go.mod h1:/zA6GVDzpSkwq8/HQJxPWDcvfn2BbZnahUO9A1wAevM= diff --git a/examples/nft-nd/go.mod b/examples/nft-nd/go.mod new file mode 100644 index 000000000..3b8d79b43 --- /dev/null +++ b/examples/nft-nd/go.mod @@ -0,0 +1,5 @@ +module github.com/nspcc-dev/neo-go/examples/nft-nd + +go 1.15 + +require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 diff --git a/examples/nft-nd/go.sum b/examples/nft-nd/go.sum new file mode 100644 index 000000000..edda2d6e7 --- /dev/null +++ b/examples/nft-nd/go.sum @@ -0,0 +1,2 @@ +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 h1:Paq5oU7mlXjzFcVDD97RA4sxFljAmFrnLrcsObBGIGY= +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652/go.mod h1:/zA6GVDzpSkwq8/HQJxPWDcvfn2BbZnahUO9A1wAevM= diff --git a/examples/oracle/go.mod b/examples/oracle/go.mod new file mode 100644 index 000000000..4cacd4765 --- /dev/null +++ b/examples/oracle/go.mod @@ -0,0 +1,5 @@ +module github.com/nspcc-dev/neo-go/examples/oracle + +go 1.15 + +require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 diff --git a/examples/oracle/go.sum b/examples/oracle/go.sum new file mode 100644 index 000000000..edda2d6e7 --- /dev/null +++ b/examples/oracle/go.sum @@ -0,0 +1,2 @@ +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 h1:Paq5oU7mlXjzFcVDD97RA4sxFljAmFrnLrcsObBGIGY= +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652/go.mod h1:/zA6GVDzpSkwq8/HQJxPWDcvfn2BbZnahUO9A1wAevM= diff --git a/examples/runtime/go.mod b/examples/runtime/go.mod new file mode 100644 index 000000000..b9462a7fa --- /dev/null +++ b/examples/runtime/go.mod @@ -0,0 +1,5 @@ +module github.com/nspcc-dev/neo-go/examples/runtime + +go 1.15 + +require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 diff --git a/examples/runtime/go.sum b/examples/runtime/go.sum new file mode 100644 index 000000000..edda2d6e7 --- /dev/null +++ b/examples/runtime/go.sum @@ -0,0 +1,2 @@ +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 h1:Paq5oU7mlXjzFcVDD97RA4sxFljAmFrnLrcsObBGIGY= +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652/go.mod h1:/zA6GVDzpSkwq8/HQJxPWDcvfn2BbZnahUO9A1wAevM= diff --git a/examples/storage/go.mod b/examples/storage/go.mod new file mode 100644 index 000000000..81a280bfa --- /dev/null +++ b/examples/storage/go.mod @@ -0,0 +1,5 @@ +module github.com/nspcc-dev/neo-go/examples/storage + +go 1.15 + +require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 diff --git a/examples/storage/go.sum b/examples/storage/go.sum new file mode 100644 index 000000000..edda2d6e7 --- /dev/null +++ b/examples/storage/go.sum @@ -0,0 +1,2 @@ +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 h1:Paq5oU7mlXjzFcVDD97RA4sxFljAmFrnLrcsObBGIGY= +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652/go.mod h1:/zA6GVDzpSkwq8/HQJxPWDcvfn2BbZnahUO9A1wAevM= diff --git a/examples/timer/go.mod b/examples/timer/go.mod new file mode 100644 index 000000000..71f5e39dc --- /dev/null +++ b/examples/timer/go.mod @@ -0,0 +1,5 @@ +module github.com/nspcc-dev/neo-go/examples/timer + +go 1.15 + +require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 diff --git a/examples/timer/go.sum b/examples/timer/go.sum new file mode 100644 index 000000000..edda2d6e7 --- /dev/null +++ b/examples/timer/go.sum @@ -0,0 +1,2 @@ +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 h1:Paq5oU7mlXjzFcVDD97RA4sxFljAmFrnLrcsObBGIGY= +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652/go.mod h1:/zA6GVDzpSkwq8/HQJxPWDcvfn2BbZnahUO9A1wAevM= diff --git a/examples/token-sale/go.mod b/examples/token-sale/go.mod new file mode 100644 index 000000000..21a0b948e --- /dev/null +++ b/examples/token-sale/go.mod @@ -0,0 +1,5 @@ +module github.com/nspcc-dev/neo-go/examples/token-sale + +go 1.15 + +require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 diff --git a/examples/token-sale/go.sum b/examples/token-sale/go.sum new file mode 100644 index 000000000..edda2d6e7 --- /dev/null +++ b/examples/token-sale/go.sum @@ -0,0 +1,2 @@ +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 h1:Paq5oU7mlXjzFcVDD97RA4sxFljAmFrnLrcsObBGIGY= +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652/go.mod h1:/zA6GVDzpSkwq8/HQJxPWDcvfn2BbZnahUO9A1wAevM= diff --git a/examples/token/go.mod b/examples/token/go.mod new file mode 100644 index 000000000..324c07ce3 --- /dev/null +++ b/examples/token/go.mod @@ -0,0 +1,5 @@ +module github.com/nspcc-dev/neo-go/examples/token + +go 1.15 + +require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 diff --git a/examples/token/go.sum b/examples/token/go.sum new file mode 100644 index 000000000..edda2d6e7 --- /dev/null +++ b/examples/token/go.sum @@ -0,0 +1,2 @@ +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652 h1:Paq5oU7mlXjzFcVDD97RA4sxFljAmFrnLrcsObBGIGY= +github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20220118080652-4eddfdbbc652/go.mod h1:/zA6GVDzpSkwq8/HQJxPWDcvfn2BbZnahUO9A1wAevM=