// rotate180 rotates the vault by 180 degrees. It can be obtained with two
// rotate90, but it's just a simple string reversal, so we make a special case
// for it.
rotate180 rotates the vault by 180 degrees. It can be obtained with two
rotate90, but it's just a simple string reversal, so we make a special case
for it.
// rotate180 rotates the vault by 180 degrees . It can be obtained with two // rotate90 but it ' s just a simple string reversal so we make a special case // for it .
func (v *Vault) rotate180() {
	runes := []rune(v.content)
	for i := 0; i < len(runes)/2; i++ {
		j := len(runes) - 1 - i
		runes[i], runes[j] = runes[j], runes[i]
	}
	v.content = string(runes)
}
func ( v * Vault ) rotate180 ( ) { runes := [ ] rune ( v . content ) for i := 0 ; i < len ( runes ) / 2 ; i ++ { j := len ( runes ) - 1 - i runes [ i ] , runes [ j ] = runes [ j ] , runes [ i ] } v . content = string ( runes ) }
rotate180 rotates the vault by 180 degrees.
rotate180 rotates the vault by 180 degrees .