Removing GetSection

Using GetXXX is not idiomatic to Go.  Also added a bunch of unit testing
around this method.
This commit is contained in:
Noah Campbell
2013-08-14 15:22:57 -07:00
parent ae7112977d
commit 599e6672f7
4 changed files with 78 additions and 19 deletions

View File

@@ -37,7 +37,3 @@ type UrlPath struct {
Section string
Path string
}
func (n *Node) GetSection() string {
return n.Section
}