mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
Removing GetSection
Using GetXXX is not idiomatic to Go. Also added a bunch of unit testing around this method.
This commit is contained in:
@@ -37,7 +37,3 @@ type UrlPath struct {
|
||||
Section string
|
||||
Path string
|
||||
}
|
||||
|
||||
func (n *Node) GetSection() string {
|
||||
return n.Section
|
||||
}
|
||||
|
Reference in New Issue
Block a user