Replies: 1 comment
-
These examples show how to use build constraints in projects using go-wasm-http-server, as stated in usage‘s step 1 in the README. More recent versions of go use a slightly different syntax for build constraints (see Go’s documentation): //go:build !js && !wasm I updated the README on this aspect. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In your video, you had a version of http Serve separated by build constrains.
One was for non-wasm and one was for wasm build.
I don't see any build constraints anywhere anymore.
What happened to them? (I'm trying to get it working with Fiber but there is some upstream issues I'm trying to resolve with build constraints)
Beta Was this translation helpful? Give feedback.
All reactions