add comments for New functions

This commit is contained in:
Andrew Siegman 2017-10-22 17:18:17 -05:00
parent 03c97bfdfe
commit 12b45e7b00
2 changed files with 2 additions and 0 deletions

View file

@ -15,6 +15,7 @@ type PrivateHost struct {
Directory string
}
// NewPrivateHost returns a new PrivateHost type.
func NewPrivateHost() PrivateHost {
return PrivateHost{
Auth: 1,

View file

@ -14,6 +14,7 @@ type PublicWeb struct {
Directory string
}
// NewPublicWeb returns a new PublicWeb type.
func NewPublicWeb() PublicWeb {
return PublicWeb{
Directory: "public/",