pkgx icon indicating copy to clipboard operation
pkgx copied to clipboard

go demo is missing

Open jhheider opened this issue 3 years ago • 2 comments

$ tea https://github.com/teaxyz/demos/blob/main/demo.go input.txt
tea: demo.go downloading
error: Uncaught (in promise) Error: 404: https://raw.githubusercontent.com/teaxyz/demos/main/demo.go
                throw new Error(`${rsp.status}: ${src}`);
                      ^
    at internal (file:///opt/tea.xyz/src/v0.11.4/src/hooks/useDownload.ts:75:23)
    at async Object.download (file:///opt/tea.xyz/src/v0.11.4/src/hooks/useDownload.ts:81:12)
    at async file:///opt/tea.xyz/src/v0.11.4/src/app.exec.ts:120:26
    at async abracadabra (file:///opt/tea.xyz/src/v0.11.4/src/app.exec.ts:115:18)
    at async exec (file:///opt/tea.xyz/src/v0.11.4/src/app.exec.ts:12:57)
    at async file:///opt/tea.xyz/src/v0.11.4/src/app.ts:29:9

jhheider avatar Nov 03 '22 12:11 jhheider

@jhheider could this work as a replacement demo?

https://github.com/pedrocruzio/demos/blob/demos/go/go/README.md

pedrocruzio avatar Nov 10 '22 14:11 pedrocruzio

well we're trying to demonstrate .go files. But this will be a nice exe/md example once we process more than a single “target”

mxcl avatar Nov 10 '22 19:11 mxcl

Changed it to a working gist

mxcl avatar Dec 06 '22 15:12 mxcl