-
Notifications
You must be signed in to change notification settings - Fork 3
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: Implement offline SPX project compilation and web-based execution #6
base: main
Are you sure you want to change the base?
Conversation
offlineSpx/main.wasm
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
compiled file, do not upload
offlineSpx/ifs/IndexdbDBWithJS.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file name always lowercase, can be used _ separate.
// IndexedDBFileSystem is the implementation of a fsx.FileSystem | ||
type IndexedDBFileSystem struct{} | ||
|
||
func NewIndexedDBFileSystem() IndexedDBFileSystem { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NewFunc returns no pointer type.
refactor: Reconstruction code to solve the problems mentioned in previous PR #6 |
.gitignore
Outdated
|
||
.vscode/ | ||
.idea/ | ||
main.wasm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.wasm
offline_spx/ifs/indexdbDB_with_js.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_js 本身就代表了明确的在 GOOS=js 上工作,所以这里不需要 with.
如果 ifs 本身不需要其他的 filesytem 实现,那么文件名可以简单的命名为 ifs_js.go, 不建议使用 indexdbDB 这种大小写的文件名用法。
refactor: Reconstruction code to solve the problems mentioned in previous PR #6 |
No description provided.