Include speed explanation
This commit is contained in:
parent
3dbedac7af
commit
ce53ef58da
2
main.go
2
main.go
|
@ -21,6 +21,8 @@ func init() {
|
|||
}
|
||||
|
||||
func main() {
|
||||
// If you wonder why this is slow, see how long even a very basic API request
|
||||
// takes. swapi is very slow!
|
||||
starships, err := AllStarships()
|
||||
if err != nil {
|
||||
log.Errorf("Error loading Starships: %+v", err)
|
||||
|
|
Loading…
Reference in a new issue