chore: use shorthand in example

Imported from CityOfZion/neo-storm (a2f2da87fcfb1a4f8ccdb48a043f98ff47bb3e89).
This commit is contained in:
Jeroen Peeters 2018-08-21 09:29:28 +02:00 committed by Roman Khimov
parent 29f05c0edb
commit e6c16a6a24

View file

@ -5,7 +5,7 @@ import (
) )
func Main(operation string, args []interface{}) interface{} { func Main(operation string, args []interface{}) interface{} {
var ctx = storage.GetContext() ctx := storage.GetContext()
// Puts value at key // Puts value at key
if operation == "put" { if operation == "put" {