jgo
JavaScript on the server, the Go-way
Examples
File IO
const fs = ;const csv = ; { const inFile = await fs; const inCSV = csv; const outFile = await fs; const outCSV = csv; //read until EOF whileconst row = await inFile //process row row1 = "my new text"; //write each row as we read outfile; inFile; outFile;}
Concurrency
Outer async, resolve exits with 0, rejects with 1
const go = ; //mirrors go-maingo;
Concurrency
//TODO
Interfaces
//TODO typescript