Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: translate bills in a single web page by wasm #77

Merged
merged 17 commits into from
Dec 20, 2022
Merged

Conversation

Triple-Z
Copy link
Member

Signed-off-by: TripleZ me@triplez.cn

@Triple-Z Triple-Z requested review from gaocegege and a team as code owners December 17, 2022 07:28
@Triple-Z Triple-Z marked this pull request as draft December 17, 2022 07:28
Signed-off-by: TripleZ <me@triplez.cn>
TODO:
- build constraints for `syscall/js`.
- index page read input/config from their textarea.

Signed-off-by: TripleZ <me@triplez.cn>
@Triple-Z
Copy link
Member Author

Triple-Z commented Dec 17, 2022

TODO:

  • build constraints for syscall/js. [MVP]
  • index page read input/config from their textarea. [MVP]
  • support wechat provider.
  • support alipay provider.
  • support huobi provider.
  • support htsec provider (using excelize, need to re-write the reader). feat(wasm): support htsec provider #78
  • raise notification if translate occurs an error.
  • Error: bad flag syntax (use -- to terminate options)
  • --output can be html tag id in wasm.

Signed-off-by: TripleZ <me@triplez.cn>
Signed-off-by: TripleZ <me@triplez.cn>
Signed-off-by: TripleZ <me@triplez.cn>
Signed-off-by: TripleZ <me@triplez.cn>
@Triple-Z
Copy link
Member Author

@gaocegege now you can review all the go code under the pkg directory.

@Triple-Z
Copy link
Member Author

Triple-Z commented Dec 19, 2022

@Triple-Z Triple-Z marked this pull request as ready for review December 20, 2022 02:38
@Triple-Z Triple-Z changed the title WIP: translate bills in a single web page by wasm feat: translate bills in a single web page by wasm Dec 20, 2022
Signed-off-by: TripleZ <me@triplez.cn>
pkg/cmd/translate.go Outdated Show resolved Hide resolved
pkg/config/init_config_wasm.go Show resolved Hide resolved
pkg/io/reader/file_reader.go Show resolved Hide resolved
pkg/provider/alipay/alipay.go Outdated Show resolved Hide resolved
fix goimports.

Signed-off-by: TripleZ <me@triplez.cn>
Signed-off-by: TripleZ <me@triplez.cn>
Signed-off-by: TripleZ <me@triplez.cn>
@Triple-Z Triple-Z merged commit 864a4f6 into master Dec 20, 2022
@Triple-Z Triple-Z deleted the feat-wasm-build branch December 20, 2022 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants