rank: make go structs and aliases the same (#477)
Type aliases are super common in Go. From experimentally searching
around I often failed to find something since it was a type alias to a
map. EG when searching Header in the stdlib. So this change makes them
equivalent.
Test Plan: go test