add WASM blazor-like thing
This commit is contained in:
18
go/cmd/examples/go-wasm-web/go.mod
Normal file
18
go/cmd/examples/go-wasm-web/go.mod
Normal file
@@ -0,0 +1,18 @@
|
||||
// The example is its own module so its go-chart dependency (and freetype /
|
||||
// x/image) stays out of the kjol module — kjol's engine packages are
|
||||
// stdlib-only. kjol is resolved locally via the replace below (no publish step).
|
||||
module gowasmweb
|
||||
|
||||
go 1.26.3
|
||||
|
||||
require (
|
||||
github.com/wcharczuk/go-chart/v2 v2.1.2
|
||||
kjol v0.0.0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
|
||||
golang.org/x/image v0.18.0 // indirect
|
||||
)
|
||||
|
||||
replace kjol => ../../..
|
||||
Reference in New Issue
Block a user