On command line, we want to reverse the parameters, we can compile the following C program to produce a exectuable. #include <stdio.h> #include <string.h> void reverse(char *buf, int i, …
We can sort a list of given strings from stdin and output to stdout using the following GoLang: package main import ( "fmt" "bufio" "os" "sort" "strings" ) func …
Let’s program a commline line tool using GoLang. And we take the first parameter and perform a full permutation on it – then it outputs each permutation line by …
GoLang provides HTTP client library. We can import the “net/http” to make a HTTP Get. Then we can use the bufio.NewScanner to print the content Line by Line or …