Eng Zer Jun
ef8d7d2fd7
refactor: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-25 12:15:43 +08:00
Lea Anthony
0b71d64931
[v2] window.backend -> window.go
2021-09-01 20:52:34 +10:00
Lea Anthony
08f4476087
Support for upx and more go:embed.
2021-05-18 21:25:16 +10:00
Lea Anthony
be43049fc6
Remove debug code
2021-04-04 05:25:21 +10:00
Lea Anthony
742e4ba2cb
Remove WailsInit and WailsShutdown methodsr
2021-01-14 11:07:06 +11:00
Lea Anthony
6fa2ebdd4f
Lint fix & tidy up
2020-12-06 21:15:23 +11:00
Lea Anthony
62374b9b53
Js package generation ( #554 )
...
* WIP
* Generation of index.js
* Add RelativeToCwd
* Add JSDoc comments
* Convert to ES6 syntax
* Fix typo
* Initial generation of typescript declarations
* Typescript improvements
* Improved @returns jsdoc
* Improved declaration files
* Simplified output
* Rename file
* Tidy up
* Revert "Simplified output"
This reverts commit 15cdf7382b
.
* Now parsing actual code
* Support Array types
* Reimagined parser
* Wrap parsing in Parser
* Rewritten module generator (TS Only)
* Final touches
* Slight refactor to improve output
* Struct comments. External struct literal binding
* Reworked project parser *working*
* remove debug info
* Refactor of parser
* remove the spew
* Better Ts support
* Better project generation logic
* Support local functions in bind()
* JS Object generation. Linting.
* Support json tags in module generation
* Updated mod files
* Support vscode file generation
* Better global.d.ts
* add ts-check to templates
* Support TS declaration files
* improved 'generate' command for module
2020-11-15 09:25:38 +11:00