Skip to content

Commit d8b79ef

Browse files
committed
Abstract fix
1 parent a02d5fc commit d8b79ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/ports/go_port/source/go_port.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type callSafeWork struct {
3131
ret chan callReturnSafeWork
3232
}
3333

34-
type callSafeAsyncWork struct {
34+
type callAsyncSafeWork struct {
3535
function string
3636
args []interface{}
3737
ret chan callReturnSafeWork
@@ -98,7 +98,7 @@ func Initialize() error {
9898
value, err := CallUnsafe(v.function, v.args...)
9999
v.ret <- callReturnSafeWork{value, err}
100100
}
101-
case callSafeAsyncWork:
101+
case callAsyncSafeWork:
102102
{
103103
value, err := CallAwaitUnsafe(v.function, v.resolve, v.reject, v.args...)
104104
v.ret <- callReturnSafeWork{value, err}
@@ -223,7 +223,7 @@ func Await(function string, args ...interface{}) (interface{}, error) {
223223

224224
}
225225

226-
w := callSafeAsyncWork{
226+
w := callAsyncSafeWork{
227227
function: function,
228228
args: args,
229229
ret: ret,

0 commit comments

Comments
 (0)