@wasm-fmt/gofmt 0.6.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gofmt.js +0 -8
- package/package.json +1 -1
package/gofmt.js
CHANGED
|
@@ -4,14 +4,6 @@ import { format as _format } from "./gofmt_binding.js";
|
|
|
4
4
|
|
|
5
5
|
wasm._initialize();
|
|
6
6
|
|
|
7
|
-
export function initSync() {
|
|
8
|
-
return wasm;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export default async function initAsync() {
|
|
12
|
-
return wasm;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
7
|
export function format(source) {
|
|
16
8
|
return _format(wasm, source);
|
|
17
9
|
}
|