mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-29 03:41:45 +00:00
6b21ad9922
Everywhere including examples, external interop APIs, bindings generators code and in other valuable places. A couple of `interface{}` usages are intentionally left in the CHANGELOG.md, documentation and tests.
14 lines
253 B
Go
14 lines
253 B
Go
package sub
|
|
|
|
import "github.com/nspcc-dev/neo-go/pkg/interop/storage"
|
|
|
|
var Key = "sub"
|
|
|
|
func _deploy(data any, isUpdate bool) {
|
|
ctx := storage.GetContext()
|
|
value := "sub create"
|
|
if isUpdate {
|
|
value = "sub update"
|
|
}
|
|
storage.Put(ctx, Key, value)
|
|
}
|