stackitem: remove Item/StackItem from function names
They're useless in a package named 'stackitem', make this package a bit more user-friendly.
This commit is contained in:
parent
b9ff07f32c
commit
0de949b575
21 changed files with 67 additions and 64 deletions
|
@ -61,7 +61,7 @@ func Notify(ic *interop.Context) error {
|
|||
// But it has to be serializable, otherwise we either have some broken
|
||||
// (recursive) structure inside or an interop item that can't be used
|
||||
// outside of the interop subsystem anyway.
|
||||
bytes, err := stackitem.SerializeItem(elem.Item())
|
||||
bytes, err := stackitem.Serialize(elem.Item())
|
||||
if err != nil {
|
||||
return fmt.Errorf("bad notification: %w", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue