mirror of
https://github.com/onyx-and-iris/aoc2023.git
synced 2024-11-24 19:30:48 +00:00
add docstring
This commit is contained in:
parent
7faa19e159
commit
e5a75872fe
@ -16,6 +16,7 @@ func newImg() img {
|
|||||||
return img{raw: make([]string, 0)}
|
return img{raw: make([]string, 0)}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// transposed rotates an image rightwards ninety degrees
|
||||||
func (i img) transposed() []string {
|
func (i img) transposed() []string {
|
||||||
transposed := []string{}
|
transposed := []string{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user