On the first two horizontals the player can place his pieces in any order, namely: 8 pawns, 2 rooks, 2 knights, 2 bishops, 1 queen and 1 king, the record of each possible arrangement is written in a simplified fen format, it is necessary to write a program in GO lang that writes all possible options to a file indicating the option number. Pawns and pieces can be placed on both the 1st and 2nd ranks
Also make it so that the program generates all joint unique positions of white and black arrangements, for example PPPPPPPP/RRNNBBQK-ppppppqn/rrnbbkpp
If there is an argument full, then print in the full folder all possible all joint unique positions of white and black arrangements, for example PPPPPPPP/RRNNBBQK-ppppppqn/rrnbbkpp, and in one file there should be no more than 1 million lines. If there is no argument, then print only for white and black in separate files