Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathConfig ¶
type PathConfig struct {
// contains filtered or unexported fields
}
PathConfig holds the canonical base path and an optional current path field to be used by the appropriate party i.e the templating package
func NewConfig ¶
func NewConfig(basePath string) *PathConfig
NewConfig creates and returns the address of a new config object
func (*PathConfig) GetBasePath ¶
func (c *PathConfig) GetBasePath() string
GetBasePath returns the specified base path
func (*PathConfig) GetCurrentPath ¶
func (c *PathConfig) GetCurrentPath() string
GetCurrentPath returns the specified current path; "" if none is specified
func (*PathConfig) SetCurrentPath ¶
func (c *PathConfig) SetCurrentPath(currentPath string)
SetCurrentPath sets the specified current path
Click to show internal directories.
Click to hide internal directories.