This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! `cargo` "language". | |
//! | |
//! ```cargo | |
//! [dependencies] | |
//! serde = "*" | |
//! serde_derive = "*" | |
//! serde_json = "*" | |
//! rustc_version = "*" | |
//! ``` | |
// Reads JSON data from stdin, adds "HelloFromRust":"version number" to JSON, write to stdout JSON string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"encoding/json" | |
"fmt" | |
"os" | |
"runtime" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @author Marcin Polak [email protected] | |
// Try to run it also with Nexss Programmer | |
// https://github.com/nexssp/language_v/blob/master/templates/get_npmjs_downloads_json.v | |
// 04 May 2021 | |
// V 0.2.2 b3890e2 | |
// my opinion: V is amazing!! | |
import net.http | |
import json |