mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-14 11:16:17 +00:00
23cfebf621
* implemented add, mul, div, sub assign for identifiers. * Implemented struct field initialization. * Implemented imports * Implemented storage VM API (interop layer) + additional bug fixes when encountered. * Bumped version 0.12.0 * fixed double point extension on compiled output file. * Fixed bug where callExpr in returns where added to voidCall * fixed binExpr compare equal * Check the env for the gopath first * removed travis.yml * custom types + implemented general declarations. * commented out the storage test to make the build pass
16 lines
520 B
Go
16 lines
520 B
Go
package storage
|
|
|
|
// GetContext ..
|
|
func GetContext() int { return 0 }
|
|
|
|
// Put stores a value in to the storage.
|
|
func Put(ctx interface{}, key interface{}, value interface{}) int { return 0 }
|
|
|
|
// GetInt returns the value as an integer.
|
|
func GetInt(ctx interface{}, key interface{}) int { return 0 }
|
|
|
|
// GetString returns the value as an string.
|
|
func GetString(ctx interface{}, key interface{}) string { return "" }
|
|
|
|
// Delete removes a stored key value pair.
|
|
func Delete(ctx interface{}, key interface{}) int { return 0 }
|