diff --git a/language-bindings/go/wamr/module.go b/language-bindings/go/wamr/module.go index 9d6b7d94..13480b22 100644 --- a/language-bindings/go/wamr/module.go +++ b/language-bindings/go/wamr/module.go @@ -134,8 +134,7 @@ func (self *Module) SetWasiAddrPool(addrPool [][]byte) { } /* Set module's wasi domain lookup pool */ -func(self *Module) SetWasiNsLookupPool(nsLookupPool[][] byte) -{ +func(self *Module) SetWasiNsLookupPool(nsLookupPool [][]byte) { var nsLookupPoolPtr **C.char var nsLookupPoolSize C.uint @@ -144,4 +143,4 @@ func(self *Module) SetWasiNsLookupPool(nsLookupPool[][] byte) nsLookupPoolSize = C.uint(len(nsLookupPool)) } C.wasm_runtime_set_wasi_ns_lookup_pool(self.module, nsLookupPoolPtr, nsLookupPoolSize) -} \ No newline at end of file +}