Commit 8e54855
fix: add //go:build !js to postgres wrapper to fix tinygo/wasm compilation (#9)
The postgres wrapper imports github.com/lib/pq which uses TLS and
crypto APIs unavailable in tinygo's stdlib. Adding the !js build tag
excludes the postgres wrapper when building for wasm targets.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0c497ea commit 8e54855
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
0 commit comments