initial
This commit is contained in:
15
pretty/pretty.go
Normal file
15
pretty/pretty.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package pretty
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// Print will pretty-print the sitemap. This is basically a stub for now,
|
||||
// because it’s the least interesting part of the program. If we used a graph
|
||||
// this would be more fun.
|
||||
func Print(url string, links []string) {
|
||||
fmt.Println(url, ":")
|
||||
for _, link := range links {
|
||||
fmt.Println("\t", link)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user