Convert golang script to wasm

Job ID: 37905619

Budget: $30 – $250 USD

Hi. I have a command line tool written in golang that takes arguments via the command line and outputs a .csv file to the file system. I need to convert it to a wasm binary that runs in the web browser, takes arguments from JavaScript, and returns the data to JavaScript as JSON. I tried compiling the program to wasm with "GOOS=js GOARCH=wasm go build main.go" but some dependencies won't work with wasm so I got an error "build constraints exclude all Go files". How much would it cost for you to fix the code so that I can compile it into a WASM binary? Thanks
Related categories: JavaScript Software Architecture Golang