4 ms·
Elegant! I like it!
by indrora 16y ago
Elegant! I like it!
- enneff 16y agoThank you. It's rudimentary, but it works. It demonstrates a couple of Go concepts: - goroutines (to Serve each request) - interfaces (the Listing type implements the path.Visitor pattern so it can generate itself, and both the Entry and Listing types implement the fmt.Stringer interface so that fmt can stringify them).