Well, something is not okay here:
You say in the comment that "repos is of type
*github.Repository" but the compiler's error message indicates that repos is of type
*Repository". The compiler is never (except when buggy) wrong.
*Repository are completely different types, especially the second is not a slice of Repositories and you cannot (really, there is no way) dereference these pointers during
append(): You have to write a loop and dereference each slice item and append one by one.
What is strange too:
Repository seem to be two different types one from package github, the other from the current package. Again, you'll have to get that straight too.
Note that there are no references in Go. Stop thinking about these immediately: This is a concept from other languages which is not helpful (as inexistent) in Go.