mirror of
https://github.com/Threnklyn/advent-of-code-go.git
synced 2026-06-07 12:45:10 +02:00
renamed module... for some reason
This commit is contained in:
@@ -2,7 +2,6 @@ package util
|
||||
|
||||
// RotateGrid returns the inputted grid, rotated counterclockwise
|
||||
// call it multiple times for 180, & 270 degree rotations
|
||||
// TODO modify this to take in any type (not just strings...)
|
||||
func RotateGrid(grid [][]string) [][]string {
|
||||
rotated := make([][]string, len(grid[0]))
|
||||
for i := range rotated {
|
||||
|
||||
Reference in New Issue
Block a user