This is a sample script for transposing slice from (n x m) to (m x n) for golang.
package main
import "fmt"
func transpose(slice [][]string) [][]string {
# -------- | |
# Hardware | |
# -------- | |
# Opcode - operational code | |
# Assebly mnemonic - abbreviation for an operation | |
# Instruction Code Format (IA-32) | |
# - Optional instruction prefix | |
# - Operational code |