Fusing Io/Fs with Gopls
summary
A lightweight web-based Go editor is implemented by proxying gopls over WebSocket to a server that mounts a FUSE file system backed by a lazy git-backed io/fs implementation (using go-git and go-fuse), so files stream from a remote repo on demand. A writable layer is provided as an in-memory writable overlay so gopls can create mod/cache and temp files. All core packages are open source and the demo shows live completion and diagnostics working.
AI-written summary · about
chapters (7)
- 0:00Start
- 1:32Encore is a Go framework for building distributed systems.
- 9:18New package in Go 1.16
- 11:15Git data model primer
- 17:55Language Server Protocol
- 19:46Connecting the dots
- 21:32Overlay an in-memory, writable filesystem








